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:
Gregory Nutt 2018-07-16 08:27:44 -06:00
parent 878fa8afd5
commit 2ecc94f5ce

View File

@ -41,12 +41,14 @@
SUBDIRS = arch build include libs startup tmp SUBDIRS = arch build include libs startup tmp
FILES = .config System.map User.map FILES = .config System.map User.map
define MKSYMTAB
ifeq (,$(wildcard ./symtab.c)) ifeq (,$(wildcard ./symtab.c))
define MKSYMTAB
$(Q) $(MAKE) -f Makefile.symtab $1 $(Q) $(MAKE) -f Makefile.symtab $1
endif
endef endef
else
define MKSYMTAB
endef
endif
all: symtab all: symtab
.PHONY: context depend clean distclean .PHONY: context depend clean distclean