diff --git a/builtin/Makefile b/builtin/Makefile index 15b99dbe0cb..7b69ba6e64e 100644 --- a/builtin/Makefile +++ b/builtin/Makefile @@ -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) diff --git a/builtin/registry/Makefile b/builtin/registry/Makefile index 255e55206cd..4609158b8ce 100644 --- a/builtin/registry/Makefile +++ b/builtin/registry/Makefile @@ -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: