[build] add deps for srcfiles.txt and include_paths.txt
Without the dependencies, the files get written once and don't get updated when include paths or source files change.
This commit is contained in:
committed by
Travis Geiselbrecht
parent
1332d188cb
commit
65019cc391
@@ -50,11 +50,11 @@ $(OUTELF).size: $(OUTELF)
|
||||
$(NOECHO)$(NM) -S --size-sort $< > $@
|
||||
|
||||
# print some information about the build
|
||||
$(BUILDDIR)/srcfiles.txt:
|
||||
$(BUILDDIR)/srcfiles.txt: $(OUTELF)
|
||||
@echo generating $@
|
||||
$(NOECHO)echo $(sort $(ALLSRCS)) | tr ' ' '\n' > $@
|
||||
|
||||
$(BUILDDIR)/include_paths.txt:
|
||||
$(BUILDDIR)/include_paths.txt: $(OUTELF)
|
||||
@echo generating $@
|
||||
$(NOECHO)echo $(subst -I,,$(sort $(GLOBAL_INCLUDES))) | tr ' ' '\n' > $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user