mk_bc5.mak

来自「Exuberant Ctags is a multilanguage reimp」· MAK 代码 · 共 77 行

MAK
77
字号
# $Id: mk_bc5.mak,v 1.5 2003/09/19 04:02:39 darren Exp $## Makefile for Win32 using Borland C++ compiler, version 5.5 (free version)!include source.makBCC = bcc32# You can obtain an Win32 version of the Gnu regex support library from#   http://people.delphiforums.com/gjc/gnu_regex.html# Point REGEX_DIR to the directory created when you extract the archive.# If you just run gnu_regex.exe in this directory, then you can just# uncomment the REGEX_DIR macro below and everything should work.#REGEX_DIR = gnu_regex_dist!ifdef REGEX_DIREXTRA_INC = -I$(REGEX_DIR)# Uncomment the following macro to dynamically link against the regex DLL;# otherwise link statically against regex.# WARNING: Borland C++ does not successfully link dynamically.#REGEX_DLL=1!ifdef REGEX_DLLREGEX_DEFINE = -DHAVE_REGCOMPEXTRA_LIBS = $(REGEX_DIR)\gnu_regex.libLDFLAGS = -tWCR!elseREGEX_DEFINE = -DHAVE_REGCOMP -DREGEX_MALLOC -DSTDC_HEADERS=1EXTRA_LIBS = regex.obj!endif!endifDEFINES = -DWIN32 $(REGEX_DEFINE)INCLUDES = $(EXTRA_INC)WARNINGS = -w-aus -w-par -w-pia -w-pro -w-susCFLAGS = -d -DSTRICT -lTpe -lap# Optimizations if your platform supports all of them.OPT = -O2 -OS -lGt# Allows multithreading#MT_OPT = -tWM -lcw32mtctags: ctags.exectags.exe: $(SOURCES) respbc5 $(EXTRA_LIBS)	$(BCC) $(OPT) $(MT_OPT) -e$@ $(LDFLAGS) @respbc5readtags.exe: readtags.c	$(BCC) $(CFLAGS) $(OPT) $(MT_OPT) -e$@ $(DEFINES) -DREADTAGS_MAIN readtags.c $(LDFLAGS)# Debug versiondctags.exe: $(SOURCES) respbc5 $(EXTRA_LIBS)	$(BCC) -DDEBUG -e$@ $(LDFLAGS) @respbc5 debug.cregex.obj:	$(BCC) -c -o$@ -w- $(DEFINES) -Dconst= $(INCLUDES) $(REGEX_DIR)\regex.crespbc5: $(SOURCES) $(HEADERS) mk_bc5.mak	echo $(DEFINES) $(INCLUDES) > $@	echo $(WARNINGS) >> $@	echo $(CFLAGS) >> $@	echo $(SOURCES) $(EXTRA_LIBS) >> $@mostlyclean:	- del *.obj	- del *.tds	- del dctags.exe	- del respbc5	- del tagsclean: mostlyclean	- del ctags.exe

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?