summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>2000-12-30 06:35:39 +0000
committercls%seawood.org <devnull@localhost>2000-12-30 06:35:39 +0000
commit6ab548cb1cb22670b225b7deacc2ca0c8c1555a6 (patch)
treeb87c96b4bfa52451d18cb7194c0ddd4e145268b4
parent219c1940d82a97f6134efcd7708c58979bc05c88 (diff)
downloadnspr-hg-6ab548cb1cb22670b225b7deacc2ca0c8c1555a6.tar.gz
Switch to $< & $@ so that VPATH can do its magic.
Bug #58804
-rw-r--r--config/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/rules.mk b/config/rules.mk
index f90b341f..2c3f7515 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -367,10 +367,10 @@ ifeq (,$(filter-out WINNT OS2,$(OS_ARCH)))
$(RES): $(RESNAME)
@$(MAKE_OBJDIR)
ifeq ($(OS_TARGET),OS2)
- $(RC) -DOS2 -r $(RESNAME) $(RES)
+ $(RC) -DOS2 -r $< $@
else
# The resource compiler does not understand the -U option.
- $(RC) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$(RES) $(RESNAME)
+ $(RC) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$@ $<
endif
@echo $(RES) finished
endif