From 520e1509e59289bda9e19e65490f4e5b85f43ea4 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sun, 4 Mar 2018 13:37:32 -0500 Subject: Disable dependency scanning for clean/tidy/tools --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3