[make] [lib/version] remove a misplaced .PHONY (#170)

When lib/version was included, a rule depended on .PHONY.  This would
unexpectedly invoke other rules defined as dependent on .PHONY (standard
phony-ness signal).

As a side effect, this used to generate srcfiles.txt and
include_paths.txt in build dir. Since they are useful, we might always
build those anyway, and not make them phony at all.
This commit is contained in:
Girts
2016-10-07 11:24:29 -07:00
committed by Travis Geiselbrecht
parent 9a2fcf2b60
commit 3972b18697
3 changed files with 4 additions and 7 deletions

View File

@@ -54,13 +54,9 @@ $(BUILDDIR)/srcfiles.txt:
@echo generating $@
$(NOECHO)echo $(sort $(ALLSRCS)) | tr ' ' '\n' > $@
.PHONY: $(BUILDDIR)/srcfiles.txt
$(BUILDDIR)/include_paths.txt:
@echo generating $@
$(NOECHO)echo $(subst -I,,$(sort $(GLOBAL_INCLUDES))) | tr ' ' '\n' > $@
.PHONY: $(BUILDDIR)/include_paths.txt
#include arch/$(ARCH)/compile.mk