Corrected little dependency extracting mini-script :-)
This commit is contained in:
parent
869932f116
commit
fb0b5f4649
@ -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
|
||||
|
Reference in New Issue
Block a user