summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorescoffon <escoffon@noemail.net>1998-07-21 08:05:12 (GMT)
committerescoffon <escoffon@noemail.net>1998-07-21 08:05:12 (GMT)
commitd90e362c37f3caf06edb5fb6d31a539de291139c (patch)
tree2cf19c8f2b94205d97babff03e7170dd5adc636a
parenta8937623546eee72069d8c193f5e15804dc3ff7f (diff)
downloadtk-d90e362c37f3caf06edb5fb6d31a539de291139c.zip
tk-d90e362c37f3caf06edb5fb6d31a539de291139c.tar.gz
tk-d90e362c37f3caf06edb5fb6d31a539de291139c.tar.bz2
the MD flag for DLL builds needs to be MDd for Debug builds
FossilOrigin-Name: b12a7c7047df476a4b2868f363eefecbbbbec2f6
-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
######################################################################