summaryrefslogtreecommitdiff
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-14 13:17:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-14 13:17:11 +0100
commitf5f4b6cb5f6174458848d2fbc0388379222c8a0f (patch)
treeb5757b6e7b06673557fc0fbfcd7fa9e404b92e5e /src/Make_mvc.mak
parent3b68123cd271fb781da4055cf1a1cf52f4fee6a5 (diff)
downloadvim-git-f5f4b6cb5f6174458848d2fbc0388379222c8a0f.tar.gz
patch 8.2.0003: Build file dependencies are incompletev8.2.0003
Problem: Build file dependencies are incomplete. Solution: Fix the dependencies. (Ken Takata, closes #5356)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 65967b61d..2718a05b7 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -1339,14 +1339,14 @@ $(VIM): $(VIM).exe
$(OUTDIR):
if not exist $(OUTDIR)/nul mkdir $(OUTDIR)
-install.exe: dosinst.c
+install.exe: dosinst.c dosinst.h version.h
$(CC) /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib \
user32.lib ole32.lib advapi32.lib uuid.lib \
-link -subsystem:$(SUBSYSTEM_TOOLS)
- if exist install.exe del install.exe
ren dosinst.exe install.exe
-uninstall.exe: uninstall.c
+uninstall.exe: uninstall.c dosinst.h version.h
$(CC) /nologo -DNDEBUG -DWIN32 uninstall.c shell32.lib advapi32.lib \
-link -subsystem:$(SUBSYSTEM_TOOLS)
@@ -1479,7 +1479,7 @@ $(OUTDIR)/blob.obj: $(OUTDIR) blob.c $(INCL)
$(OUTDIR)/blowfish.obj: $(OUTDIR) blowfish.c $(INCL)
-$(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL)
+$(OUTDIR)/buffer.obj: $(OUTDIR) buffer.c $(INCL) version.h
$(OUTDIR)/bufwrite.obj: $(OUTDIR) bufwrite.c $(INCL)
@@ -1527,15 +1527,15 @@ $(OUTDIR)/eval.obj: $(OUTDIR) eval.c $(INCL)
$(OUTDIR)/evalbuffer.obj: $(OUTDIR) evalbuffer.c $(INCL)
-$(OUTDIR)/evalfunc.obj: $(OUTDIR) evalfunc.c $(INCL)
+$(OUTDIR)/evalfunc.obj: $(OUTDIR) evalfunc.c $(INCL) version.h
-$(OUTDIR)/evalvars.obj: $(OUTDIR) evalvars.c $(INCL)
+$(OUTDIR)/evalvars.obj: $(OUTDIR) evalvars.c $(INCL) version.h
$(OUTDIR)/evalwindow.obj: $(OUTDIR) evalwindow.c $(INCL)
-$(OUTDIR)/ex_cmds.obj: $(OUTDIR) ex_cmds.c $(INCL)
+$(OUTDIR)/ex_cmds.obj: $(OUTDIR) ex_cmds.c $(INCL) version.h
-$(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL)
+$(OUTDIR)/ex_cmds2.obj: $(OUTDIR) ex_cmds2.c $(INCL) version.h
$(OUTDIR)/ex_docmd.obj: $(OUTDIR) ex_docmd.c $(INCL) ex_cmdidxs.h
@@ -1553,7 +1553,7 @@ $(OUTDIR)/fold.obj: $(OUTDIR) fold.c $(INCL)
$(OUTDIR)/getchar.obj: $(OUTDIR) getchar.c $(INCL)
-$(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL)
+$(OUTDIR)/hardcopy.obj: $(OUTDIR) hardcopy.c $(INCL) version.h
$(OUTDIR)/hashtab.obj: $(OUTDIR) hashtab.c $(INCL)
@@ -1567,7 +1567,7 @@ $(OUTDIR)/gui.obj: $(OUTDIR) gui.c $(INCL) $(GUI_INCL)
$(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL)
-$(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL)
+$(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL) version.h
$(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp gui_dwrite.h
@@ -1602,7 +1602,7 @@ $(OUTDIR)/if_python3.obj: $(OUTDIR) if_python3.c if_py_both.h $(INCL)
$(OUTDIR)/if_ole.obj: $(OUTDIR) if_ole.cpp $(INCL) if_ole.h
-$(OUTDIR)/if_ruby.obj: $(OUTDIR) if_ruby.c $(INCL)
+$(OUTDIR)/if_ruby.obj: $(OUTDIR) if_ruby.c $(INCL) version.h
$(CC) $(CFLAGS_OUTDIR) $(RUBY_INC) if_ruby.c
$(OUTDIR)/if_tcl.obj: $(OUTDIR) if_tcl.c $(INCL)
@@ -1629,7 +1629,7 @@ $(OUTDIR)/menu.obj: $(OUTDIR) menu.c $(INCL)
$(OUTDIR)/message.obj: $(OUTDIR) message.c $(INCL)
-$(OUTDIR)/misc1.obj: $(OUTDIR) misc1.c $(INCL)
+$(OUTDIR)/misc1.obj: $(OUTDIR) misc1.c $(INCL) version.h
$(OUTDIR)/misc2.obj: $(OUTDIR) misc2.c $(INCL)
@@ -1639,7 +1639,7 @@ $(OUTDIR)/move.obj: $(OUTDIR) move.c $(INCL)
$(OUTDIR)/mbyte.obj: $(OUTDIR) mbyte.c $(INCL)
-$(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL)
+$(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL) version.h
$(OUTDIR)/channel.obj: $(OUTDIR) channel.c $(INCL)
@@ -1720,7 +1720,9 @@ $(OUTDIR)/usercmd.obj: $(OUTDIR) usercmd.c $(INCL)
$(OUTDIR)/userfunc.obj: $(OUTDIR) userfunc.c $(INCL)
-$(OUTDIR)/viminfo.obj: $(OUTDIR) viminfo.c $(INCL)
+$(OUTDIR)/version.obj: $(OUTDIR) version.c $(INCL) version.h
+
+$(OUTDIR)/viminfo.obj: $(OUTDIR) viminfo.c $(INCL) version.h
$(OUTDIR)/window.obj: $(OUTDIR) window.c $(INCL)