Switch to $< & $@ so that VPATH can do its magic.

Bug #58804
This commit is contained in:
cls%seawood.org 2000-12-30 06:36:06 +00:00
Родитель 046ede8289
Коммит aeed808e9f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -387,10 +387,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