summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-12-23 22:18:08 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-12-23 22:18:08 +0100
commit19e7be2912d09a67ad119c0f67972bca0b32212a (patch)
tree34a711983a94208083499a02dbcbd473f164e007
parente551f6e0eda8fb1ff3fc08dd2032e6a277ab3a47 (diff)
downloadwolfbones-19e7be2912d09a67ad119c0f67972bca0b32212a.tar.gz
wolfbones-19e7be2912d09a67ad119c0f67972bca0b32212a.tar.bz2
do not compute dependencies in 'make (dist)clean'
-rw-r--r--makefiles/gmake/depend.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefiles/gmake/depend.mk b/makefiles/gmake/depend.mk
index cfe5bb5..22eaa41 100644
--- a/makefiles/gmake/depend.mk
+++ b/makefiles/gmake/depend.mk
@@ -55,6 +55,14 @@ ifeq "$(COMPILER)" "pcc"
endif
+ifneq ($(MAKECMDGOALS),clean)
+ifneq ($(MAKECMDGOALS),distclean)
-include $(OBJS:.o=.d)
-include $(BIN_OBJS:.o=.d)
-include $(TEST_BIN_OBJS:.o=.d)
+
+.PHONY: depend
+depend: $(OBJS:.o=.d) $(BIN_OBJS:.o=.d) $(TEST_BIN_OBJS:.o=.d)
+
+endif
+endif