From 65019cc3918e50ad29e5f0fff4b4bbe54f3c50d1 Mon Sep 17 00:00:00 2001 From: Girts Folkmanis Date: Mon, 21 Nov 2016 19:39:31 -0800 Subject: [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. --- make/build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/build.mk b/make/build.mk index bebb39d0..7c0e9130 100644 --- a/make/build.mk +++ b/make/build.mk @@ -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' > $@ -- cgit v1.2.3