Skip to content

Commit

Permalink
Fix missing dependencies for shell.c in all makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
D. Richard Hipp committed Jan 5, 2018
1 parent 74473f8 commit a9c7d24
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,12 @@ SHELL_SRC = \
$(TOP)/src/shell.c.in \
$(TOP)/ext/misc/shathree.c \
$(TOP)/ext/misc/fileio.c \
$(TOP)/ext/misc/completion.c
$(TOP)/ext/misc/completion.c \
$(TOP)/ext/misc/sqlar.c \
$(TOP)/ext/expert/sqlite3expert.c \
$(TOP)/ext/expert/sqlite3expert.h \
$(TOP)/ext/misc/zipfile.c \
$(TOP)/src/test_windirent.c

shell.c: $(SHELL_SRC) $(TOP)/tool/mkshellc.tcl
$(TCLSH_CMD) $(TOP)/tool/mkshellc.tcl >shell.c
Expand Down
4 changes: 3 additions & 1 deletion Makefile.msc
Original file line number Diff line number Diff line change
Expand Up @@ -2078,7 +2078,9 @@ SHELL_SRC = \
$(TOP)\ext\misc\completion.c \
$(TOP)\ext\misc\sqlar.c \
$(TOP)\ext\expert\sqlite3expert.c \
$(TOP)\ext\expert\sqlite3expert.h
$(TOP)\ext\expert\sqlite3expert.h \
$(TOP)\ext\misc\zipfile.c \
$(TOP)\src\test_windirent.c

# If use of zlib is enabled, add the "zipfile.c" source file.
#
Expand Down
3 changes: 2 additions & 1 deletion main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ SHELL_SRC = \
$(TOP)/ext/misc/sqlar.c \
$(TOP)/ext/expert/sqlite3expert.c \
$(TOP)/ext/expert/sqlite3expert.h \
$(TOP)/ext/misc/zipfile.c
$(TOP)/ext/misc/zipfile.c \
$(TOP)/src/test_windirent.c

shell.c: $(SHELL_SRC) $(TOP)/tool/mkshellc.tcl
tclsh $(TOP)/tool/mkshellc.tcl >shell.c
Expand Down

0 comments on commit a9c7d24

Please sign in to comment.