summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/makefile.vc13
1 files changed, 8 insertions, 5 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 7bddf6b..34aea15 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.87 2002/03/28 21:45:36 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.88 2002/03/29 22:09:35 davygrvy Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -308,9 +308,6 @@ GENERICDIR = $(ROOT)\generic
TOOLSDIR = $(ROOT)\tools
WINDIR = $(ROOT)\win
-TCL_INCLUDES = -I"$(WINDIR)" -I"$(GENERICDIR)"
-TCL_DEFINES = $(OPTDEFINES)
-
#---------------------------------------------------------------------
# Compile flags
@@ -348,8 +345,14 @@ crt = -MT$(DBGX)
!endif
BASE_CLFAGS = $(cflags) $(cdebug) $(crt) $(TCL_INCLUDES)
-TCL_CFLAGS = $(BASE_CLFAGS) $(TCL_DEFINES)
CON_CFLAGS = $(cflags) $(cdebug) $(crt) -DCONSOLE
+TCL_INCLUDES = -I"$(WINDIR)" -I"$(GENERICDIR)"
+
+!if $(STATIC_BUILD)
+TCL_CFLAGS = $(BASE_CLFAGS) -DSTATIC_BUILD
+!else
+TCL_CFLAGS = $(BASE_CLFAGS)
+!endif
#---------------------------------------------------------------------