summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2003-03-23 02:17:44 (GMT)
committerKevin B Kenny <kennykb@acm.org>2003-03-23 02:17:44 (GMT)
commit70b90cb4cfeb7cd3af71faf35a8ce44ae4c9af1f (patch)
tree6c5f0e6fff5edbc8a542cd582ea815f1653b82d6 /win/makefile.vc
parent35cd800f83d7cf7302bcc77410a50538c94ef6fb (diff)
downloadtk-70b90cb4cfeb7cd3af71faf35a8ce44ae4c9af1f.zip
tk-70b90cb4cfeb7cd3af71faf35a8ce44ae4c9af1f.tar.gz
tk-70b90cb4cfeb7cd3af71faf35a8ce44ae4c9af1f.tar.bz2
Corrected several problems that prevented OPTS=symbols from building
properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc18
1 files changed, 13 insertions, 5 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index f79188f..f5ac297 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.69 2003/03/11 23:31:55 kennykb Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.70 2003/03/23 02:17:44 kennykb Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -373,9 +373,17 @@ cflags = $(cflags) -QIA64_Bx
!endif
!if $(MSVCRT)
-crt = -MD$(DBGX)
+!if "$(DBGX)" == ""
+crt = -MD
!else
-crt = -MT$(DBGX)
+crt = -MDd
+!endif
+!else
+!if "$(DBGX)" == ""
+crt = -MT
+!else
+crt = -MTd
+!endif
!endif
BASE_CLFAGS = $(cdebug) $(cflags) $(crt) $(TK_INCLUDES)
@@ -450,9 +458,9 @@ test: setup $(TKTEST) $(TKLIB) $(CAT32)
set PATH=$(_TCLDIR)\win\$(BUILDDIRTOP);$(PATH)
!endif
!if "$(OS)" == "Windows_NT" || "$(MSVCDIR)" == "IDE"
- $(TKTEST) $(ROOT)/tests/all.tcl $(TESTFLAGS) | $(CAT32)
+ $(TKTEST) "$(ROOT)/tests/all.tcl" $(TESTFLAGS) | $(CAT32)
!else
- $(TKTEST) $(ROOT)/tests/all.tcl $(TESTFLAGS) | $(CAT32)
+ $(TKTEST) "$(ROOT)/tests/all.tcl" $(TESTFLAGS) | $(CAT32)
!endif
runtest: setup $(TKTEST) $(TKLIB) $(CAT32)