From da2f99aa8aa053d5748861a1b1f3c68f0d994b99 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 16 Jun 2009 14:34:38 +0000 Subject: updated for version 7.2-204 --- src/Make_mvc.mak | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/Make_mvc.mak') diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 1782586960..63552b4e19 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1,18 +1,18 @@ # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me) # and Win64, using the Microsoft Visual C++ compilers. Known to work with # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), -# and VC9 (VS2008). +# VC9 (VS2008), and VC10 (VS2010). # # To build using other Windows compilers, see INSTALLpc.txt # # This makefile can build the console, GUI, OLE-enable, Perl-enabled and -# Python-enabled versions of vim for Win32 platforms. +# Python-enabled versions of Vim for Win32 platforms. # -# The basic command line to build vim is: +# The basic command line to build Vim is: # # nmake -f Make_mvc.mak # -# This will build the console version of vim with no additional interfaces. +# This will build the console version of Vim with no additional interfaces. # To add features, define any of the following: # # !!!! After changing features do "nmake clean" first !!!! @@ -358,6 +358,9 @@ MSVCVER = 9.0 !if "$(_NMAKE_VER)" == "9.00.30729.01" MSVCVER = 9.0 !endif +!if "$(_NMAKE_VER)" == "10.00.20506.01" +MSVCVER = 10.0 +!endif !endif # Abort bulding VIM if version of VC is unrecognised. @@ -372,7 +375,7 @@ MSVCVER = 9.0 !endif # Convert processor ID to MVC-compatible number -!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") +!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") !if "$(CPUNR)" == "i386" CPUARG = /G3 !elseif "$(CPUNR)" == "i486" @@ -405,7 +408,7 @@ OPTFLAG = /O2 !else # MAXSPEED OPTFLAG = /Ox !endif -!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") +!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") # Use link time code generation if not worried about size !if "$(OPTIMIZE)" != "SPACE" OPTFLAG = $(OPTFLAG) /GL @@ -793,7 +796,7 @@ LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(LIBC) $(OLE_LIB) user32.lib $(SNIFF_LIB) \ # Report link time code generation progress if used. !ifdef NODEBUG -!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") +!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") !if "$(OPTIMIZE)" != "SPACE" LINKARGS1 = $(LINKARGS1) /LTCG:STATUS !endif -- cgit v1.2.3