mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
apps/import/Makefile: Eliminate a MAKE sytax error that occurs in some (but not environments) when symtab.c has not been generated.
This commit is contained in:
parent
878fa8afd5
commit
2ecc94f5ce
1 changed files with 5 additions and 3 deletions
|
|
@ -41,12 +41,14 @@
|
|||
SUBDIRS = arch build include libs startup tmp
|
||||
FILES = .config System.map User.map
|
||||
|
||||
|
||||
define MKSYMTAB
|
||||
ifeq (,$(wildcard ./symtab.c))
|
||||
define MKSYMTAB
|
||||
$(Q) $(MAKE) -f Makefile.symtab $1
|
||||
endif
|
||||
endef
|
||||
else
|
||||
define MKSYMTAB
|
||||
endef
|
||||
endif
|
||||
|
||||
all: symtab
|
||||
.PHONY: context depend clean distclean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue