summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-11-06 21:11:28 -0800
committerSteven Noonan <steven@uplinklabs.net>2009-11-06 21:11:28 -0800
commitd485fefd26d24d865139ee20c471a5cfd30107dd (patch)
tree176b95ffedd991554c5d9aa2fa6f781303c2c932
parenta3d33d748cf5d5af11da58d2df95f84a4234cb9f (diff)
downloadcrawl-ref-d485fefd26d24d865139ee20c471a5cfd30107dd.tar.gz
crawl-ref-d485fefd26d24d865139ee20c471a5cfd30107dd.zip
makefile: util/*.o should also pay attention to CFLAGS changes
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 935ef4a926..b879ef6005 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -756,7 +756,7 @@ wizard: $(GAME)
# flex/bison combos I've tried don't produce code that passes the warnings
# test.
-$(UTIL)%.o: $(UTIL)%.cc
+$(UTIL)%.o: $(UTIL)%.cc .cflags
$(QUIET_CXX)$(CXX) $(YACC_CFLAGS) -o $@ -c $<
ifdef PCH