summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 44fd62f148..b40574b75a 100644
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,9 @@ ifneq ($(MAKECMDGOALS),)
ifneq ($(filter %config distclean,$(MAKECMDGOALS)),)
NOCOMPILE:=1
endif
+ifeq ($(MAKECMDGOALS), distclean)
+NOMKDIR:=1
+endif
endif
ifeq ($(NOCOMPILE),1)