Corrected little dependency extracting mini-script :-)

This commit is contained in:
Jacobo Tarrío 2000-06-17 00:10:17 +00:00
parent 869932f116
commit fb0b5f4649

View File

@ -26,7 +26,7 @@ $(FDEPPATH)/$(TARGET)/%.d: %.cpp
$(FDEPPATH)/$(TARGET)/%.d: %.c
@echo making depends for $<
@$(SHELL) -ec '$(CC) -c -M $(CFLAGS) $< \
| sed '\''s;\($*\)\$(OBJEXT)[ :]*;$(subst /,\/,$(FOBJPATH))\/\1\$(OBJEXT) $(subst /,\/,$@): ;g'\'' > $@; [-s $@ ] || rm -f $@'
| sed '\''s;\($*\)\$(OBJEXT)[ :]*;$(subst /,\/,$(FOBJPATH))\/\1\$(OBJEXT) $(subst /,\/,$@): ;g'\'' > $@; [ -s $@ ] || rm -f $@'
endif
$(FOBJPATH)/%$(OBJEXT): %.cpp