summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-10-18 08:49:32 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-10-18 08:49:32 (GMT)
commit807c24b4515b64d6848fd06777d50ea4650ec969 (patch)
tree8eabb8e6dc1c54ff2204d34cde48a72524a55e72 /win/rules.vc
parent95f8b149514039db25023ac2a1692205deb4314b (diff)
downloadtcl-807c24b4515b64d6848fd06777d50ea4650ec969.zip
tcl-807c24b4515b64d6848fd06777d50ea4650ec969.tar.gz
tcl-807c24b4515b64d6848fd06777d50ea4650ec969.tar.bz2
Ensure builds with VC6 without Platform SDK and Pickup MACHINE from environment
to make life easier on Windows non-x86 platforms.
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 045aebc..cc43b7b 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -11,7 +11,7 @@
# Copyright (c) 2003-2006 Patrick Thoyts
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.11.2.4 2006/10/06 14:04:49 patthoyts Exp $
+# RCS: @(#) $Id: rules.vc,v 1.11.2.5 2006/10/18 08:49:33 patthoyts Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -31,7 +31,11 @@ _INSTALLDIR = $(INSTALLDIR:/=\)
!endif
!ifndef MACHINE
+!if "$(CPU)" == ""
MACHINE = IX86
+!else
+MACHINE = $(CPU)
+!endif
!endif
!ifndef CFG_ENCODING