summaryrefslogtreecommitdiff
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-24 17:17:54 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-24 17:17:54 +0200
commitd22a6f8aaf4dbffc9254965e39e031914dbc495a (patch)
treeb3dd126f44df794da5a0d61d2ff8170864a03943 /src/Make_cyg_ming.mak
parentfa8f861957f4f9f7a0946d9d61fe90a9882f54e6 (diff)
downloadvim-git-d22a6f8aaf4dbffc9254965e39e031914dbc495a.tar.gz
patch 8.1.1381: MS-Windows: missing build dependencyv8.1.1381
Problem: MS-Windows: missing build dependency. Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata, closes #4423
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 811f1985f..7844e004c 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -1047,6 +1047,9 @@ 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 \
spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
GUI_INCL = gui.h
+ifeq ($(DIRECTX),yes)
+GUI_INCL += gui_dwrite.h
+endif
CUI_INCL = iscygpty.h
$(OUTDIR)/if_python.o: if_python.c if_py_both.h $(INCL)
@@ -1083,7 +1086,7 @@ endif
$(OUTDIR):
$(MKDIR) $(OUTDIR)
-$(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp $(INCL) gui_dwrite.h
+$(OUTDIR)/gui_dwrite.o: gui_dwrite.cpp gui_dwrite.h
$(CC) -c $(CFLAGS) $(CXXFLAGS) gui_dwrite.cpp -o $@
$(OUTDIR)/gui.o: gui.c $(INCL) $(GUI_INCL)