summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-03-04 13:37:32 -0500
committeryenatch <yenatch@gmail.com>2018-03-04 13:37:32 -0500
commit520e1509e59289bda9e19e65490f4e5b85f43ea4 (patch)
treea3f5f96fa9ac5861ad478e60b5697f3ee0581d94
parent72d8d1c288fa22ff146dc60ca20b40c431c51828 (diff)
Disable dependency scanning for clean/tidy/tools
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ddd1aa22c..807762286 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,11 @@ ALL_BUILDS := ruby ruby_rev1 ruby_rev1 sapphire sapphire_rev1 sapphire_rev2 ruby
# Available targets
.PHONY: all clean tidy tools $(ALL_BUILDS)
+# Disable dependency scanning for clean/tidy/tools
+ifneq (,$(filter clean tidy tools,$(MAKECMDGOALS)))
+NODEP := 1
+endif
+
# Disable dependency scanning when NODEP is used for quick building
ifeq ($(NODEP),)
$(BUILD_DIR)/src/%.o: C_FILE = $(*D)/$(*F).c