📄 makefile
字号:
# ************************************************************************
# Make file for the HMS827 demonstration program.
#
# MAKE Version 3.7 Copyright (c) 1987, 1994 Borland International
# is being used for the make utility to input this file.
# A path to Borland C++ Version 4.02 by Borland International is assumed.
#
# TLINK requires a library path, so it is being called from bcc.
#
# Author: Escort Memory Systems
#
# History:
# when Who What
# ---- ---- -------
#
# ****************************************************************************
#
# Borland V4.0 C++ compiler flag:
# -c Compile to .OBJ but do not link.
# -ml Compile using large memory model.
COPT = -c -ml
# /v Full symbolic debug information.
# /l Map file Include source line numbers
# /c Generate Case-sensitive link
# /d Worn if duplicate symbols.
# /m Map file.
# /s detailed map file.
# /x No map file at all.
LOPT = /v /c /d /x
demo.exe: demo.obj contread.obj preform.obj hms800.obj comm.obj
tlink $(LOPT) C0L demo contread preform hms800 comm,demo.exe,,Cl.lib,,
.c.obj:
bcc $(COPT) $<
# See readme.txt for an overview of the executables being created.
all:
del demo_mdb.exe
del demo_mux.exe
del demo_dbg.exe
del demo.exe
attrib -r handheld.h
copy handheld.mdb handheld.h
del *.obj
make
rename demo.exe demo_mdb.exe
copy handheld.mux handheld.h
del *.obj
make
rename demo.exe demo_mux.exe
copy handheld.dbg handheld.h
del *.obj
make
rename demo.exe demo_dbg.exe
copy handheld.232 handheld.h
del *.obj
make
clean:
del *.bak
del *.obj
del *.lst
del *.map
del *.exe
del *.src
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -