The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.

This commit is contained in:
Gregory Nutt 2017-08-13 11:03:17 -06:00
parent a66da34f18
commit 7a8561728c
123 changed files with 123 additions and 125 deletions

View file

@ -43,7 +43,7 @@ FILES = .config
all: nothing
.PHONY: nothing context depend clean distclean
.PRECIOUS: $(BIN)
.PRECIOUS: ../libapps$(LIBEXT)
nothing: