diff options
author | Samuel Bronson <naesten@gmail.com> | 2013-11-10 23:55:37 -0500 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2013-11-10 23:55:37 -0500 |
commit | c239e299906f98b5c68b563694f26876bc5a1429 (patch) | |
tree | b32aeaffce3d5e4b1c115eaf1d2c6818785eea63 /crawl-ref/source/Makefile | |
parent | 434b8f6cb06c934535a191de1d57619e7d674005 (diff) | |
download | crawl-ref-c239e299906f98b5c68b563694f26876bc5a1429.tar.gz crawl-ref-c239e299906f98b5c68b563694f26876bc5a1429.zip |
Make the .o files depend on the PCH where relevant.
I'm surprised I didn't notice this before now ...
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 70ff8f1a2c..506a1fa909 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -1437,7 +1437,7 @@ endif # Plain old compilation # -$(OBJECTS:%.o=%.cc): $(CC_DEP) $(CONTRIB_LIBS) +$(OBJECTS:%.o=%.cc): $(CONTRIB_LIBS) $(UTIL)%.o: ALL_CFLAGS=$(YACC_CFLAGS) @@ -1452,7 +1452,7 @@ $(UTIL)%.o: ALL_CFLAGS=$(YACC_CFLAGS) %.o: %.m .cflags | $(GENERATED_HEADERS) $(QUIET_CC)$(CC) $(ALL_CFLAGS) $(INLINE_DEPGEN_CFLAGS) -c $< -o $@ -%.o: %.cc %.d .cflags | $(GENERATED_HEADERS) $(TILEDEFHDRS) +%.o: %.cc %.d .cflags $(CC_DEP) | $(GENERATED_HEADERS) $(TILEDEFHDRS) ifdef NO_INLINE_DEPGEN $(QUIET_DEPEND)$(or $(DEPCXX),$(CXX)) -MM $(ALL_CFLAGS) -MT $*.o $< > $*.d endif |