From 985744902fd6c56fe3c30a2d1a00aeacfffba475 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 2 Jan 2010 16:06:23 -0800 Subject: makefile: don't check .cflags or *.d files on clean targets Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source') 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) -- cgit v1.2.3-54-g00ecf