⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.bcc

📁 VIM文本编辑器
💻 BCC
字号:
# Simple makefile for Borland C++ 3.1
# 4.0 can also be used, although the executable will be much bigger!

SOURCES	= entry.c get.c main.c options.c parse.c read.c sort.c

# Adjust the paths to your location of the borland C files
BCCLOC  = c:\borlandc
CC	= $(BCCLOC)\bin\bcc
INC	= -I$(BCCLOC)\include
LIB	= -L$(BCCLOC)\lib

# Add this file for wildcard expansion (does NOT work with 4.0!)
#EXTRA   =   $(BCCLOC)\lib\wildargs.obj

# The following compile options can be changed for better machines.
#	replace -1- with -2 to produce code for a 80286 or higher
#	replace -1- with -3 to produce code for a 80386 or higher
#	add -v for source debugging
OPTIMIZE= -1- -Ox

CFLAGS	= -DMSDOS -mc -w-ccc -w-par -w-pia -w-rch -w-sus $(INC)
LFLAGS	= $(LIB) $(EXTRA)

ctags.exe: $(SOURCES) respfile
	$(CC) $(OPTIMIZE) -e$@ @respfile

debug: dctags.exe

dctags.exe: $(SOURCES) respfile debug.c
	$(CC) -DDEBUG -v -e$@ @respfile debug.c

respfile: makefile.bcc
	echo $(CFLAGS) > $@
	echo $(LFLAGS) >> $@
	echo $(SOURCES) >> $@

clean:
	del *.exe
	del *.obj
	del respfile
	del tags

⌨️ 快捷键说明

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