summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 2d0ebb1..f75a69c 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -4,7 +4,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
-# SCCS: %Z% $Id: makefile.vc,v 1.3 1998/07/20 16:06:53 escoffon Exp $
+# SCCS: %Z% $Id: makefile.vc,v 1.4 1998/07/21 08:05:12 escoffon Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -274,6 +274,12 @@ cvars = -DWIN32 -D_WIN32
cvarsmt = $(cvars) -D_MT
cvarsdll = $(cvarsmt) -D_DLL
+!IF "$(NODEBUG)" == "1"
+cvarsdll = $(cvars) -MD
+!ELSE
+cvarsdll = $(cvars) -MDd
+!ENDIF
+
CON_CFLAGS = $(cdebug) $(cflags) $(cvars) $(include32) -DCONSOLE
######################################################################