Don't assume we are building in the source tree, but allow make to

locate resources/display.rc and resources/mouse.rc via VPATH.
This commit is contained in:
Matthew Clarke 2000-10-28 00:29:34 +00:00 committed by Alexandre Julliard
parent 37f1ea1a02
commit a420e6f9a2

View file

@ -48,9 +48,9 @@ $(EXTRA_OBJS): $(TOOLSUBDIRS) dummy
# Special rules for 16-bit resource files
resources/display.res: resources/display.rc
LD_LIBRARY_PATH="$(TOPOBJDIR):$$LD_LIBRARY_PATH" $(WRC) $(DIVINCL) -o $@ -w16 -m -r resources/display.rc
LD_LIBRARY_PATH="$(TOPOBJDIR):$$LD_LIBRARY_PATH" $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
resources/mouse.res: resources/mouse.rc
LD_LIBRARY_PATH="$(TOPOBJDIR):$$LD_LIBRARY_PATH" $(WRC) $(DIVINCL) -o $@ -w16 -m -r resources/mouse.rc
LD_LIBRARY_PATH="$(TOPOBJDIR):$$LD_LIBRARY_PATH" $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
### Dependencies: