From 156d956258e0f1eb9c3df55199f3eafb3809505c Mon Sep 17 00:00:00 2001 From: davygrvy Date: Mon, 25 Aug 2003 20:35:59 +0000 Subject: Don't do a string compare on the $(DBGX) variable, use the $(DEBUG) boolean directly. Also, don't try to regen the stubs table if $(TCLSH) doesn't exist. --- win/makefile.vc | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/win/makefile.vc b/win/makefile.vc index c14b5b5..c8927e8 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.71 2003/05/13 14:15:08 vincentdarley Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.72 2003/08/25 20:35:59 davygrvy Exp $ #------------------------------------------------------------------------------ !if "$(MSVCDIR)" == "" @@ -373,16 +373,16 @@ cflags = $(cflags) -QIA64_Bx !endif !if $(MSVCRT) -!if "$(DBGX)" == "" -crt = -MD -!else +!if $(DEBUG) crt = -MDd -!endif !else -!if "$(DBGX)" == "" -crt = -MT +crt = -MD +!endif !else +!if $(DEBUG) crt = -MTd +!else +crt = -MT !endif !endif @@ -555,8 +555,12 @@ install-libraries: #--------------------------------------------------------------------- genstubs: +!if !exist($(TCLSH)) + @echo Build tclsh first! +!else $(TCLSH) $(_TCLDIR)\tools\genStubs.tcl $(GENERICDIR) \ $(GENERICDIR)\$(PROJECT).decls $(GENERICDIR)\$(PROJECT)Int.decls +!endif #--------------------------------------------------------------------- -- cgit v0.12