diff src/Make_mvc.mak @ 17157:bbd454d155a9 v8.1.1578

patch 8.1.1578: MS-Windows: pathdef.c should depend on build options commit https://github.com/vim/vim/commit/dfc145572813c5d3848feb4029ff8bfb127ab66a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 21 17:36:10 2019 +0200 patch 8.1.1578: MS-Windows: pathdef.c should depend on build options Problem: MS-Windows: pathdef.c should depend on build options. Solution: Generate pathdef.c in the object directory. Fix dependencies. (Ken Takata, closes #4565)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Jun 2019 17:45:05 +0200
parents be5a5cfc991a
children ba06a1c42274
line wrap: on
line diff
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -1702,7 +1702,7 @@ E0_LINKARGS2 = $(LINKARGS2:\=\\)
 E_LINKARGS2 = $(E0_LINKARGS2:"=\")
 # ") stop the string
 
-$(PATHDEF_SRC): auto
+$(PATHDEF_SRC): Make_mvc.mak
 	@echo creating $(PATHDEF_SRC)
 	@echo /* pathdef.c */ > $(PATHDEF_SRC)
 	@echo #include "vim.h" >> $(PATHDEF_SRC)
@@ -1713,9 +1713,6 @@ E_LINKARGS2 = $(E0_LINKARGS2:"=\")
 	@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
 	@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)
 
-auto:
-	if not exist auto/nul mkdir auto
-
 # End Custom Build
 proto.h: \
 	proto/arabic.pro \