summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-23 21:28:36 (GMT)
committernijtmans <nijtmans>2010-10-23 21:28:36 (GMT)
commit265f57a4ead2af98032cc3760d884a86ee1ab584 (patch)
tree2c24c42c37cdea328d4dd64ee43defb7e3864f73 /win/rules.vc
parentb35b132bf5414330d8c74d1af7ecbd41a60de7c1 (diff)
downloadtcl-265f57a4ead2af98032cc3760d884a86ee1ab584.zip
tcl-265f57a4ead2af98032cc3760d884a86ee1ab584.tar.gz
tcl-265f57a4ead2af98032cc3760d884a86ee1ab584.tar.bz2
Update for VS10
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 1eebd83..3abd4ff 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -11,7 +11,7 @@
# Copyright (c) 2003-2007 Patrick Thoyts
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.35.2.1 2008/06/25 10:57:54 patthoyts Exp $
+# RCS: @(#) $Id: rules.vc,v 1.35.2.2 2010/10/23 21:28:36 nijtmans Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -143,7 +143,7 @@ OPTIMIZATIONS = $(OPTIMIZATIONS) -YX
### test for pentium errata
!if [nmakehlp -c -QI0f]
!message *** Compiler has 'Pentium 0x0f fix'
-COMPILERFLAGS = $(COMPILERFLAGSS) -QI0f
+COMPILERFLAGS = $(COMPILERFLAGS) -QI0f
!else
!message *** Compiler does not have 'Pentium 0x0f fix'
!endif
@@ -189,7 +189,9 @@ VCVER=0
!if ![echo VCVERSION=_MSC_VER > vercl.x] \
&& ![cl -nologo -TC -P vercl.x $(ERRNULL)]
!include vercl.i
-!if $(VCVERSION) >= 1500
+!if $(VCVERSION) >= 1600
+VCVER=10
+!elseif $(VCVERSION) >= 1500
VCVER=9
!elseif $(VCVERSION) >= 1400
VCVER=8