summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2006-10-18 08:49:31 (GMT)
committerpatthoyts <patthoyts@noemail.net>2006-10-18 08:49:31 (GMT)
commit59baae1f29c00bc5f6c9309d00c0dac8bb52583b (patch)
tree8eabb8e6dc1c54ff2204d34cde48a72524a55e72 /win/rules.vc
parent048717a5851c51683938ba3c852bdacd3585d3ff (diff)
downloadtcl-59baae1f29c00bc5f6c9309d00c0dac8bb52583b.zip
tcl-59baae1f29c00bc5f6c9309d00c0dac8bb52583b.tar.gz
tcl-59baae1f29c00bc5f6c9309d00c0dac8bb52583b.tar.bz2
Ensure builds with VC6 without Platform SDK and Pickup MACHINE from environment
to make life easier on Windows non-x86 platforms. FossilOrigin-Name: d37251d255883908dfec76662fa1da69ad8135b6
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