diff Makefile @ 27411:c38f90ae922a

Skip dependency generation if we just run distclean or if skipping is requested explicitly on the command line.
author diego
date Sat, 09 Aug 2008 13:53:19 +0000
parents 778fac8c186f
children 917c93c652b0
line wrap: on
line diff
--- a/Makefile	Fri Aug 08 20:08:02 2008 +0000
+++ b/Makefile	Sat Aug 09 13:53:19 2008 +0000
@@ -1055,7 +1055,13 @@
 
 
 
+# Do not include dependencies when they are about to be removed anyway
+# or if SKIP_DEPS was set to "yes" on the command line.
+ifneq ($(MAKECMDGOALS),distclean)
+ifneq ($(SKIP_DEPS),yes)
 -include $(DEPS)
+endif
+endif
 
 .PHONY: all doxygen *install* *tools drivers dhahelper*
 .PHONY: checkheaders *clean dep depend tests