📄 makefile.bc
字号:
# Borland C++ 4.5 makefile for Tk## Copyright (c) 1995-1996 by Sun Microsystems, Inc.## See the file "license.terms" for information on usage and redistribution# of this file, and for a DISCLAIMER OF ALL WARRANTIES.### Project directories## ROOT = top of source tree# TMPDIR = location where .obj files should be stored during build# TCLDIR = location of top of Tcl source heirarchy#TMPDIR = .TOOLS = d:\bc45TCLDIR = D:\tcl7.5TKDIR = D:\tk4.1TIXDIR = D:\Tix4.1a2# uncomment the following line to compile with symbols#DEBUG=1# uncomment the following two lines to compile with TCL_MEM_DEBUG#DEBUGDEFINES =TCL_MEM_DEBUG# You shouldn't need to change anything below this line# -------------------------------------------------------------------## Borland C++ tools#BORLAND = $(TOOLS)IMPLIB = ImplibBCC32 = Bcc32BCC = BccRC = brcc32CP = copyRM = del TCL_INCLUDES = $(TCLDIR)\generic;$(TCLDIR)\winTK_INCLUDES = $(TKDIR)\generic;$(TKDIR)\xlib;$(TKDIR)\winTIX_INCLUDES = $(TIXDIR)\include;$(TIXDIR)\generic;$(TIXDIR)\winINCLUDES = $(BORLAND)\include;$(TIX_INCLUDES);$(TK_INCLUDES);$(TCL_INCLUDES)LIBDIRS = $(BORLAND)\libTCLLIBDIR = $(TCLDIR)\winTKLIBDIR = $(TKDIR)\winTIXLIBDIR = $(TIXDIR)\win!ifndef DEBUG# these macros cause maximum optimization and no symbolsDEBUGLDFLAGS = DEBUGCCFLAGS = -v- -vi- -O2!else# these macros enable debuggingDEBUGLDFLAGS = -vDEBUGCCFLAGS = -k -Od -v!endifDEFINES = _RTLDLL;$(DEBUGDEFINES)PROJECTCCFLAGS= $(DEBUGCCFLAGS) -w-par -w-stuLNFLAGS_dll = -Tpd -aa -c $(DEBUGLDFLAGS) $(BORLAND)\lib\c0d32LNLIBS_dll = $(TKLIBDIR)\$(TKLIB) $(TCLLIBDIR)\$(TCLLIB) import32 cw32iLNLIBS_tixdll = $(TIXLIBDIR)\$(TIXLIB) $(TKLIBDIR)\$(TKLIB) $(TCLLIBDIR)\$(TCLLIB) import32 cw32i# # Global makefile settings#.AUTODEPEND.CACHEAUTODEPEND.suffixes: .c .dll .lib .obj .exe.path.c=..path.obj=$(TMPDIR)OBJS = $(TMPDIR)\Demo.objTCLLIB = tcl75.libTKLIB = tk41.libTIXLIB = tix41.libTCLDLL = tcl75.dllTKDLL = tk41.dllTIXDLL = tix41.dll# This target is a DLL that depends only on Tcl and TK#DEMO_DLL = demo.dll# This target is a DLL that depends on Tcl, TK and Tix#DEMO_TIX_DLL = demo_tix.dll## Targets#all: cfgdll $(DEMO_DLL) cfgclntix: cfgdll $(DEMO_TIX_DLL) cfgcln# Implicit Targets.c.obj: @$(BCC32) {$< }.dll.lib: $(IMPLIB) -c $@ $<## Configuration file targets - these files are implicitly used by the compiler#cfgdll: @$(CP) &&| -n$(TMPDIR) -I$(INCLUDES) -c -WD -D$(DEFINES) -3 -d $(PROJECTCCFLAGS)| bcc32.cfg >NULcfgcln: @$(RM) bcc32.cfg## DLL targets#$(DEMO_DLL): $(OBJS) demo.def tlink32 @&&|$(LNFLAGS_dll) $(OBJS)$@-x$(LNLIBS_dll)demo.def|## DLL targets#$(DEMO_TIX_DLL): $(OBJS) demo.def tlink32 @&&|$(LNFLAGS_dll) $(OBJS)$@-x$(LNLIBS_tixdll)demo.def|# The following rule automatically generates a tix.def file containing# an export entry for every public symbol in the $(TKDLL) library.demo.def: $(OBJS) $(TCLLIBDIR)\dumpexts.exe -o $@ $(DEMO_DLL) @&&| $(OBJS)|# remove all generated filesclean: $(RM) $(DEMO_DLL) $(RM) $(DEMO_TIX_DLL) $(RM) demo.def $(RM) $(TMPDIR)\*.obj $(RM) bcc32.cfg
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -