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:
parent
64bc8f5b7f
commit
8c8c481381
@ -47,7 +47,7 @@ BDATLIST = $(strip $(call RWILDCARD, registry, *.bdat))
|
|||||||
registry$(DELIM).updated:
|
registry$(DELIM).updated:
|
||||||
$(Q) $(MAKE) -C registry .updated TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
$(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
|
builtin_list.h: registry$(DELIM).updated
|
||||||
$(call DELFILE, .xx_builtin_list.h)
|
$(call DELFILE, .xx_builtin_list.h)
|
||||||
|
@ -41,16 +41,11 @@ include $(APPDIR)/Make.defs
|
|||||||
all:
|
all:
|
||||||
.PHONY: context depend clean distclean
|
.PHONY: context depend clean distclean
|
||||||
|
|
||||||
.updated: $(DEPCONFIG)
|
|
||||||
$(call DELFILE, *.bdat)
|
|
||||||
$(call DELFILE, *.pdat)
|
|
||||||
$(Q) touch .updated
|
|
||||||
|
|
||||||
# This must run before any other context target
|
# This must run before any other context target
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
context: .updated
|
context:
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user