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 | 7e5da7d8b2942d57213290beae1d2e6300620a8a (patch) | |
tree | d8d2e7afa1f08acc46d9237a4755fe16c2beb2e9 /Makefile | |
parent | 0f03d94fbed241109e1f799de69319fbe9758820 (diff) | |
download | openttd-7e5da7d8b2942d57213290beae1d2e6300620a8a.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) |