Skip to content

Commit

Permalink
win32: Update dependency of gui_dwrite.cpp
Browse files Browse the repository at this point in the history
gui_dwrite.cpp only depends on gui_dwrite.h.
  • Loading branch information
k-takata committed May 24, 2019
1 parent c97582b commit 14f6558
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/Make_cyg_ming.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Make_mvc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ $(OUTDIR)/gui_beval.obj: $(OUTDIR) gui_beval.c $(INCL) $(GUI_INCL)

$(OUTDIR)/gui_w32.obj: $(OUTDIR) gui_w32.c $(INCL) $(GUI_INCL)

$(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp $(INCL) $(GUI_INCL)
$(OUTDIR)/gui_dwrite.obj: $(OUTDIR) gui_dwrite.cpp gui_dwrite.h

$(OUTDIR)/if_cscope.obj: $(OUTDIR) if_cscope.c $(INCL) if_cscope.h

Expand Down

0 comments on commit 14f6558

Please sign in to comment.