Do not generate dependencies if we are going to clean.

master
Richard Cochran 2011-12-13 09:04:08 +01:00
parent ecf959ce3d
commit 623add8303
1 changed files with 4 additions and 1 deletions

View File

@ -50,5 +50,8 @@ distclean: clean
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
ifneq ($(MAKECMDGOALS), clean)
ifneq ($(MAKECMDGOALS), distclean)
-include $(DEPEND)
endif
endif