mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r3474) -Fix: don't use CXXFLAGS for DEP and CFLAGS for Compile, gives funny results ;)
This commit is contained in:
parent
e707c8c7e6
commit
38b9d233af
2
Makefile
2
Makefile
@ -984,7 +984,7 @@ endif
|
|||||||
|
|
||||||
.deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
|
.deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
|
||||||
@echo '===> DEP $<'
|
@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
|
.deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h
|
||||||
@echo '===> DEP $<'
|
@echo '===> DEP $<'
|
||||||
|
Loading…
Reference in New Issue
Block a user