File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,16 @@ CPU = i386
3636
3737!ifdef SDK_INCLUDE_DIR
3838!include $(SDK_INCLUDE_DIR)\Win32.mak
39- !else
39+ !elseif "$(USE_WIN32MAK)"=="yes"
4040!include <Win32.mak>
41+ !else
42+ cc = cl
43+ link = link
44+ rc = rc
45+ cflags = -nologo -c
46+ lflags = -incremental:no -nologo
47+ rcflags = /r
48+ olelibsdll = ole32.lib uuid.lib oleaut32.lib user32.lib gdi32.lib advapi32.lib
4149!endif
4250
4351# include CPUARG
Original file line number Diff line number Diff line change 1515# This will build the console version of Vim with no additional interfaces.
1616# To add features, define any of the following:
1717#
18- # For MSVC 11 you need to specify where the Win32.mak file is, e.g.:
18+ # For MSVC 11, if you want to include Win32.mak, you need to specify
19+ # where the file is, e.g.:
1920# SDK_INCLUDE_DIR="C:\Program Files\Microsoft SDKs\Windows\v7.1\Include"
2021#
2122# !!!! After changing features do "nmake clean" first !!!!
@@ -212,7 +213,7 @@ OBJDIR = $(OBJDIR)Z
212213OBJDIR = $(OBJDIR ) d
213214!endif
214215
215- # Win32.mak requires that CPU be set appropriately.
216+ # If you include Win32.mak, it requires that CPU be set appropriately.
216217# To cross-compile for Win64, set CPU=AMD64 or CPU=IA64.
217218
218219!ifdef PROCESSOR_ARCHITECTURE
@@ -253,12 +254,15 @@ MAKEFLAGS_GVIMEXT = DEBUG=yes
253254!endif
254255
255256
256- # Get all sorts of useful, standard macros from the Platform SDK.
257+ # Get all sorts of useful, standard macros from the Platform SDK,
258+ # if SDK_INCLUDE_DIR is set or USE_WIN32MAK is set to "yes".
257259
258260!ifdef SDK_INCLUDE_DIR
259261!include $(SDK_INCLUDE_DIR)\Win32.mak
260- !else
262+ !elseif "$(USE_WIN32MAK)"=="yes"
261263!include <Win32.mak>
264+ !else
265+ link = link
262266!endif
263267
264268
Original file line number Diff line number Diff line change @@ -769,6 +769,8 @@ static char *(features[]) =
769769
770770static int included_patches [] =
771771{ /* Add new patch number below this line */
772+ /**/
773+ 881 ,
772774/**/
773775 880 ,
774776/**/
You can’t perform that action at this time.
0 commit comments