mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
a66da34f18
commit
7a8561728c
123 changed files with 123 additions and 125 deletions
|
|
@ -105,7 +105,7 @@ endif
|
|||
|
||||
all: .built
|
||||
.PHONY: context .depend depend clean distclean preconfig
|
||||
.PRECIOUS: $(BIN)
|
||||
.PRECIOUS: ../libapps$(LIBEXT)
|
||||
|
||||
ifneq ($(ASRCS),)
|
||||
# REVISIT: Backslash causes problems in $(AOBJS) target
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
all:
|
||||
.PHONY: clean distclean
|
||||
.PRECIOUS: $(BIN)
|
||||
.PRECIOUS: ../../libapps$(LIBEXT)
|
||||
|
||||
# Clean Targets:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue