summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-01-29 19:49:15 +0000
committertruelight <truelight@openttd.org>2006-01-29 19:49:15 +0000
commit9d11d11d680df163c39990e3a0c6a1fc50bfa4a8 (patch)
tree20f7470409fd7dc21f78ffd54890eda75ff6f94f /Makefile
parent98c62ba8e0af49a0d4018fe1bf634644ff8fdd76 (diff)
downloadopenttd-9d11d11d680df163c39990e3a0c6a1fc50bfa4a8.tar.xz
(svn r3474) -Fix: don't use CXXFLAGS for DEP and CFLAGS for Compile, gives funny results ;)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9671e02ec..0ea3ff2c0 100644
--- a/Makefile
+++ b/Makefile
@@ -984,7 +984,7 @@ endif
.deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
@echo '===> DEP $<'
- $(Q)$(CXX) $(CXXFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@
+ $(Q)$(CXX) $(CFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@
.deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h
@echo '===> DEP $<'