summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2003-04-30 09:23:30 (GMT)
committerdavygrvy@pobox.com <davygrvy>2003-04-30 09:23:30 (GMT)
commitf9b9eba5416c42852b449958580652fc50f82ff5 (patch)
tree27380980d8191ddba63606bedfb89b28494603a1
parente86ff151b9b271ca1d64b1cca16fbdb5ec7c3caf (diff)
downloadtcl-f9b9eba5416c42852b449958580652fc50f82ff5.zip
tcl-f9b9eba5416c42852b449958580652fc50f82ff5.tar.gz
tcl-f9b9eba5416c42852b449958580652fc50f82ff5.tar.bz2
Use the boolean $(DEBUG) instead of a string comparison on $(DBGX).
-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