diff options
author | davygrvy <davygrvy@noemail.net> | 2002-03-29 22:09:35 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-03-29 22:09:35 (GMT) |
commit | f32489603b3aeb5ab52fbda3513cfffcadf11512 (patch) | |
tree | 35ad8d10ed77fcfeddaa0e29b6630be74f7b8b79 /win/makefile.vc | |
parent | a93197abd9884af5560b60c774bc417f57034536 (diff) | |
download | tcl-f32489603b3aeb5ab52fbda3513cfffcadf11512.zip tcl-f32489603b3aeb5ab52fbda3513cfffcadf11512.tar.gz tcl-f32489603b3aeb5ab52fbda3513cfffcadf11512.tar.bz2 |
A STATIC_BUILD bug fix. -DSTATIC_BUILD wasn't being added to the core's compile rules.
FossilOrigin-Name: 8a725793e211756b28b9569103bef9039e529d19
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 13 |
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 #--------------------------------------------------------------------- |