summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index af97ea4fd0..b926b2c659 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -720,6 +720,9 @@ all: $(GAME)
test:
./$(GAME) -test > /dev/null
+
+ifeq (,$(findstring clean,$(MAKECMDGOALS)))
+
#
# CFLAGS difference check
#
@@ -748,6 +751,8 @@ DEPS := $(shell ls $(OBJECTS:.o=.d) 2> /dev/null)
-include $(DEPS)
+endif
+
# This information is included in crash reports, and is printed with
# "crawl -version"
compflag.h: $(OBJECTS:.o=.cc)