borlandc.mk
来自「自己写的关于编译原理的实验报告的源代码」· MK 代码 · 共 29 行
MK
29 行
# Makefile for using with Borland C++ 3.1
# To use this file type "make -f borlandc.mk [entry-point]"
# Entry Points:
# all (Default) build cocor c++ library
# clean Clean all objects and executable files
# CFLAGS:
# -ml for large memory model
# -w-pro suppress the "prototype warning"
# -O Optimization
CC = bcc
LIB = tlib
CFLAGS = -ml -w-pro -O
all: cr_lib.lib
cr_lib.lib:
$(CC) $(CFLAGS) -c cr_abs.cpp cr_error.cpp \
cr_scan.cpp cr_parse.cpp
$(LIB) cr_lib.lib +cr_abs.obj + cr_error.obj \
+cr_scan.obj +cr_parse.obj
clean:
del *.obj
del *.lib
del *.bak
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?