Skip to content

Commit 8c8c481

Browse files
xiaoxiang781216patacongo
authored andcommitted
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
1 parent 64bc8f5 commit 8c8c481

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

builtin/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ BDATLIST = $(strip $(call RWILDCARD, registry, *.bdat))
4747
registry$(DELIM).updated:
4848
$(Q) $(MAKE) -C registry .updated TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
4949

50-
builtin_list$(OBJEXT): builtin_list.h builtin_proto.h
50+
builtin_list.c: builtin_list.h builtin_proto.h
5151

5252
builtin_list.h: registry$(DELIM).updated
5353
$(call DELFILE, .xx_builtin_list.h)

builtin/registry/Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,11 @@ include $(APPDIR)/Make.defs
4141
all:
4242
.PHONY: context depend clean distclean
4343

44-
.updated: $(DEPCONFIG)
45-
$(call DELFILE, *.bdat)
46-
$(call DELFILE, *.pdat)
47-
$(Q) touch .updated
48-
4944
# This must run before any other context target
5045

5146
install:
5247

53-
context: .updated
48+
context:
5449

5550
depend:
5651

0 commit comments

Comments
 (0)