summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5c7089d440..3cf53e7084 100644
--- a/Makefile
+++ b/Makefile
@@ -271,6 +271,11 @@ else
TESTABLEGOALS:=$(MAKECMDGOALS)
endif
+ifneq "$(strip $(TESTABLEGOALS))" "$(DEPS_FILE)"
ifneq "$(strip $(patsubst clean%,,$(patsubst %clean,,$(TESTABLEGOALS))))" ""
+ifeq "$(strip $(wildcard $(DEPS_FILE)))" ""
+_:=$(shell $(MAKE) $(DEPS_FILE))
+endif
include $(DEPS_FILE)
endif
+endif