changeset 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 33b9d3402d3e
children 7d8105fefe97
files Makefile
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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