Added text that shows what the computer is doing when making dependencies

This commit is contained in:
adamdunkels 2007-03-31 18:40:52 +00:00
parent ac3b3ea3ca
commit 509ad55a2e

View file

@ -122,7 +122,7 @@ endif
ifndef CUSTOM_RULE_C_TO_OBJECTDIR_D ifndef CUSTOM_RULE_C_TO_OBJECTDIR_D
$(OBJECTDIR)/%.d: %.c $(OBJECTDIR)/%.d: %.c
@set -e; rm -f $@; \ @echo Making dependencies for $<; set -e; rm -f $@; \
$(CCDEP) -MM $(CDEPFLAGS) $< > $@.$$$$; \ $(CCDEP) -MM $(CDEPFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,$(OBJECTDIR)/\1.o $@ : ,g' < $@.$$$$ > $@; \ sed 's,\($*\)\.o[ :]*,$(OBJECTDIR)/\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$ rm -f $@.$$$$