* do not generate dependencies before cleaning as we delete them right away again
authorBernd Petrovitsch <bernd@firmix.at>
Thu, 2 Aug 2007 12:31:38 +0000 (12:31 +0000)
committerBernd Petrovitsch <bernd@firmix.at>
Thu, 2 Aug 2007 12:31:38 +0000 (12:31 +0000)
Makefile.inc

index 4ea868b..0e92afe 100644 (file)
@@ -140,8 +140,10 @@ help:
        @echo '************************************'
        @echo
 
+ifeq ($(filter clean% %clean, $(MAKECMDGOALS)),)
 # include dependencies
 -include $(SRCS:%.c=%.d)
+endif
 
 # Local Variables:
 # mode: makefile