diff src/GvimExt/Makefile @ 12001:fecb0ff6e8cf v8.0.0881

patch 8.0.0881: win32.mak no longer included in Windows SDK commit https://github.com/vim/vim/commit/e16b00a1582dbff7b76b0631d935531059cf7b47 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 6 17:38:06 2017 +0200 patch 8.0.0881: win32.mak no longer included in Windows SDK Problem: win32.mak no longer included in Windows SDK. Solution: Do not include win32.mak. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Sun, 06 Aug 2017 17:45:03 +0200
parents deb9295dccda
children 590424e87b65
line wrap: on
line diff
--- a/src/GvimExt/Makefile
+++ b/src/GvimExt/Makefile
@@ -36,8 +36,16 @@ CPU = i386
 
 !ifdef SDK_INCLUDE_DIR
 !include $(SDK_INCLUDE_DIR)\Win32.mak
+!elseif "$(USE_WIN32MAK)"=="yes"
+!include <Win32.mak>
 !else
-!include <Win32.mak>
+cc = cl
+link = link
+rc = rc
+cflags = -nologo -c
+lflags = -incremental:no -nologo
+rcflags = /r
+olelibsdll = ole32.lib uuid.lib oleaut32.lib user32.lib gdi32.lib advapi32.lib
 !endif
 
 # include CPUARG