From c2266d44db04f4164e2f13aec24d4de86599aef2 Mon Sep 17 00:00:00 2001 From: escoffon Date: Tue, 21 Jul 1998 08:05:12 +0000 Subject: the MD flag for DLL builds needs to be MDd for Debug builds --- win/makefile.vc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 ###################################################################### -- cgit v0.12