diff options
author | tron <tron@openttd.org> | 2005-12-27 22:55:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-27 22:55:24 +0000 |
commit | c6ea133746d2ce84db4ef954ef27648e4b8af874 (patch) | |
tree | d8d2e7afa1f08acc46d9237a4755fe16c2beb2e9 /Makefile | |
parent | ee3eae4fdfd7aae3f33cb9f5e77f46dc6215330f (diff) | |
download | openttd-c6ea133746d2ce84db4ef954ef27648e4b8af874.tar.xz |
(svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -994,15 +994,15 @@ endif .deps/%.d: %.c $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> DEP $<' - $(Q)$(CC) $(CFLAGS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ + $(Q)$(CC) $(CFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ .deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> DEP $<' - $(Q)$(CXX) $(CXXFLAGS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ + $(Q)$(CXX) $(CXXFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> DEP $<' - $(Q)$(CC) $(OBJCFLAGS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ + $(Q)$(CC) $(OBJCFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ %.o: %.c $(MAKE_CONFIG) |