summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-19 15:27:26 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-19 15:54:30 -0700
commitcd3d964fcd3612ea9a1112725fca92e0bd8741d9 (patch)
tree2a326e8791a9a901037616f14db5115b83c9f084 /crawl-ref/source/makefile
parent378834da4d947a1a06c90ff3c20705b976714109 (diff)
downloadcrawl-ref-cd3d964fcd3612ea9a1112725fca92e0bd8741d9.tar.gz
crawl-ref-cd3d964fcd3612ea9a1112725fca92e0bd8741d9.zip
makefile: move compflag.h target closer to build.h target
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index feedfd0f10..02461f17db 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -607,7 +607,10 @@ ifneq ($(MAKECMDGOALS),distclean)
endif
endif
-.INTERMEDIATE: build.h compflag.h
+# This information is included in crash reports, and is printed with
+# "crawl -version"
+compflag.h:
+ $(QUIET_GEN)util/gen-cflg.pl compflag.h "$(CFLAGS)" "$(CFLAGS_L)" "$(LDFLAGS)"
build.h:
$(QUIET_GEN)util/gen_ver.pl $@
@@ -698,11 +701,6 @@ distclean: clean clean-contrib clean-rltiles
done
@touch .contrib-ok
-# This information is included in crash reports, and is printed with
-# "crawl -version"
-compflag.h:
- $(QUIET_GEN)util/gen-cflg.pl compflag.h "$(CFLAGS)" "$(CFLAGS_L)" "$(LDFLAGS)"
-
$(GAME): $(GAME_DEPENDS)
$(QUIET_LINK)$(CXX) $(LDFLAGS) $(EXTRA_OBJECTS) $(OBJECTS) -o $(GAME) $(LIB)