mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2853) Add missing dependencies and flags to the dependency targets and make the info target more informative
This commit is contained in:
parent
a4e00b6f05
commit
2aebbaeecd
13
Makefile
13
Makefile
@ -999,17 +999,17 @@ endif
|
|||||||
|
|
||||||
%.o: .deps/%.d
|
%.o: .deps/%.d
|
||||||
|
|
||||||
.deps/%.d: %.c table/strings.h endian_target.h
|
.deps/%.d: %.c $(MAKE_CONFIG) table/strings.h endian_target.h
|
||||||
@echo '===> Determining dependencies of $<'
|
@echo '===> Determining dependencies of $<'
|
||||||
$(Q)$(CC) $(CFLAGS) -M $< > $@
|
$(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@
|
||||||
|
|
||||||
.deps/%.d: %.cpp table/strings.h endian_target.h
|
.deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
|
||||||
@echo '===> Determining dependencies of $<'
|
@echo '===> Determining dependencies of $<'
|
||||||
$(Q)$(CXX) $(CFLAGS) -M $< > $@
|
$(Q)$(CXX) $(CFLAGS) $(CDEFS) -M $< > $@
|
||||||
|
|
||||||
.deps/%.d: %.m table/strings.h endian_target.h
|
.deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h
|
||||||
@echo '===> Determining dependencies of $<'
|
@echo '===> Determining dependencies of $<'
|
||||||
$(Q)$(CC) $(CFLAGS) -M $< > $@
|
$(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@
|
||||||
|
|
||||||
|
|
||||||
%.o: %.c $(MAKE_CONFIG)
|
%.o: %.c $(MAKE_CONFIG)
|
||||||
@ -1029,3 +1029,4 @@ info:
|
|||||||
@echo 'CFLAGS = $(CFLAGS)'
|
@echo 'CFLAGS = $(CFLAGS)'
|
||||||
@echo 'LDFLAGS = $(LDFLAGS)'
|
@echo 'LDFLAGS = $(LDFLAGS)'
|
||||||
@echo 'LIBS = $(LIBS)'
|
@echo 'LIBS = $(LIBS)'
|
||||||
|
@echo 'CDEFS = $(CDEFS)'
|
||||||
|
Loading…
Reference in New Issue
Block a user