summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 22a9118bb5..a34a59fedd 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -618,19 +618,15 @@ endif
endif
-.PHONY: compflag.h build.h version.cc
-
# This information is included in crash reports, and is printed with
# "crawl -version"
-compflag.h:
+compflag.h: $(OBJECTS:.o=.cc)
$(QUIET_GEN)util/gen-cflg.pl compflag.h "$(CFLAGS)" "$(CFLAGS_L)" "$(LDFLAGS)"
-build.h:
+build.h: $(OBJECTS:.o=.cc)
$(QUIET_GEN)util/gen_ver.pl $@ $(MERGE_BASE)
-ifneq ($(MAKECMDGOALS),install)
version.cc: build.h compflag.h
-endif
##########################################################################
# The level compiler