summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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