summaryrefslogtreecommitdiffstats
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-09 21:48:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-09 21:48:11 +0100
commit0ba89ec47c4c43414a89a6944803e2e1331a761d (patch)
tree9ea5d524acd8f78f2ccc0bb5fde78c59d82f8c66 /src/Make_cyg_ming.mak
parent0ff822d2ebf0d130516631734b00179ba8dd8251 (diff)
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windowsv8.1.2413
Problem: Cannot update ex_cmdidxs.h on MS-Windows. Solution: Add build rules and dependencies. (Ken Takata, closes #5337)
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 24c1338504..8654ca3a51 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -1082,6 +1082,13 @@ endif
$(MAKE) -C xxd -f Make_ming.mak clean
$(MAKE) -C tee clean
+# Run vim script to generate the Ex command lookup table.
+# This only needs to be run when a command name has been added or changed.
+# If this fails because you don't have Vim yet, first build and install Vim
+# without changes.
+cmdidxs: ex_cmds.h
+ vim --clean -X -u create_cmdidxs.vim
+
###########################################################################
INCL = vim.h alloc.h ascii.h ex_cmds.h feature.h globals.h \
keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
@@ -1128,6 +1135,8 @@ endif
$(OUTDIR):
$(MKDIR) $(OUTDIR)
+$(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmdidxs.h
+
$(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp gui_dwrite.h
$(CC) -c $(CFLAGS) $(CXXFLAGS) gui_dwrite.cpp -o $@