summaryrefslogtreecommitdiff
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
commit38b9d233af6f80952094f6976957e07e96c4c26c (patch)
tree20f7470409fd7dc21f78ffd54890eda75ff6f94f
parente707c8c7e68f1baf5547b1a39a83ce02e3b786b5 (diff)
downloadopenttd-38b9d233af6f80952094f6976957e07e96c4c26c.tar.xz
(svn r3474) -Fix: don't use CXXFLAGS for DEP and CFLAGS for Compile, gives funny results ;)
-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 $<'