fix builtin_list.c:58:10: fatal error: builtin_proto.h: No such file or directory (#2)

Make builtin_list.c instead of builtin_list.o depend on builtin_proto.h and builtin_proto.c
This commit is contained in:
Xiang Xiao 2019-12-31 11:02:09 -06:00 committed by patacongo
parent 64bc8f5b7f
commit 8c8c481381
2 changed files with 2 additions and 7 deletions

View File

@ -47,7 +47,7 @@ BDATLIST = $(strip $(call RWILDCARD, registry, *.bdat))
registry$(DELIM).updated:
$(Q) $(MAKE) -C registry .updated TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
builtin_list$(OBJEXT): builtin_list.h builtin_proto.h
builtin_list.c: builtin_list.h builtin_proto.h
builtin_list.h: registry$(DELIM).updated
$(call DELFILE, .xx_builtin_list.h)

View File

@ -41,16 +41,11 @@ include $(APPDIR)/Make.defs
all:
.PHONY: context depend clean distclean
.updated: $(DEPCONFIG)
$(call DELFILE, *.bdat)
$(call DELFILE, *.pdat)
$(Q) touch .updated
# This must run before any other context target
install:
context: .updated
context:
depend: