diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-04 12:33:50 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-04 12:38:01 -0600 |
commit | 40a61cd6c2346727ce152dd7ce1bf49878feba05 (patch) | |
tree | e87482ae90a85b35987e1139fec979bf6d5570d6 /crawl-ref/source/Makefile | |
parent | 7afe17ba5e88d4cb7d79677fd5acf2ac8a49a7a0 (diff) | |
download | crawl-ref-40a61cd6c2346727ce152dd7ce1bf49878feba05.tar.gz crawl-ref-40a61cd6c2346727ce152dd7ce1bf49878feba05.zip |
Fix a possibly spurious relink on every make.
The addition of check-fonts to the binary target was causing relinks on
every invocation of make; this moves check-fonts to all: such that it
still occurs at compile time, but doesn't cause the binary to be rebuilt
every time.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r-- | crawl-ref/source/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile index 5b4a331198..0d3ee9c66a 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -263,7 +263,7 @@ ifdef BUILD_ALL endif # Should be the first rule, but must come after $(GAME) is set. -all: greet $(GAME) docs webserver +all: greet check-fonts $(GAME) docs webserver LIBPCRE := contrib/install/$(ARCH)/lib/libpcre.a LIBSDL := contrib/install/$(ARCH)/lib/libSDL.a @@ -1304,7 +1304,7 @@ distclean: clean clean-contrib clean-rltiles $(RM) -r mac-app-zips $(RM) -r $(DOXYGEN_HTML_GEN) -$(GAME): $(OBJECTS) $(EXTRA_OBJECTS) $(CONTRIB_LIBS) dat/dlua/tags.lua check-fonts +$(GAME): $(OBJECTS) $(EXTRA_OBJECTS) $(CONTRIB_LIBS) dat/dlua/tags.lua +$(QUIET_LINK)$(CXX) $(LDFLAGS) $(EXTRA_OBJECTS) $(OBJECTS) -o $(GAME) $(LIBS) debug: all |