diff options
author | escoffon <escoffon> | 1998-07-21 08:05:12 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-07-21 08:05:12 (GMT) |
commit | c2266d44db04f4164e2f13aec24d4de86599aef2 (patch) | |
tree | 2cf19c8f2b94205d97babff03e7170dd5adc636a /win | |
parent | 94d60cbd6ca4bbe99c6e68c0b8e566b429df50e5 (diff) | |
download | tk-c2266d44db04f4164e2f13aec24d4de86599aef2.zip tk-c2266d44db04f4164e2f13aec24d4de86599aef2.tar.gz tk-c2266d44db04f4164e2f13aec24d4de86599aef2.tar.bz2 |
the MD flag for DLL builds needs to be MDd for Debug builds
Diffstat (limited to 'win')
-rw-r--r-- | win/makefile.vc | 8 |
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 ###################################################################### |