summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-04-30 09:23:30 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-04-30 09:23:30 (GMT)
commitc191aa7b691555843cbc2f9deed2a879ec6eebec (patch)
tree27380980d8191ddba63606bedfb89b28494603a1 /win/makefile.vc
parent754d2c4a65096e202ab877da6999ab304283f8d0 (diff)
downloadtcl-c191aa7b691555843cbc2f9deed2a879ec6eebec.zip
tcl-c191aa7b691555843cbc2f9deed2a879ec6eebec.tar.gz
tcl-c191aa7b691555843cbc2f9deed2a879ec6eebec.tar.bz2
Use the boolean $(DEBUG) instead of a string comparison on $(DBGX).
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc14
1 files changed, 7 insertions, 7 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index c7a9a2e..c518aaa 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.106 2003/04/15 16:40:35 kennykb Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.107 2003/04/30 09:23:30 davygrvy Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -343,16 +343,16 @@ cflags = $(cflags) -QIA64_Bx
!endif
!if $(MSVCRT)
-!if "$(DBGX)" == ""
-crt = -MD
-!else
+!if $(DEBUG)
crt = -MDd
-!endif
!else
-!if "$(DBGX)" == ""
-crt = -MT
+crt = -MD
+!endif
!else
+!if $(DEBUG)
crt = -MTd
+!else
+crt = -MT
!endif
!endif