[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:
Girts Folkmanis
2016-11-21 19:39:31 -08:00
committed by Travis Geiselbrecht
parent 1332d188cb
commit 65019cc391

View File

@@ -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' > $@