?? makefile
字號(hào):
#
# Sample makefile for building the formatted stream I/O demonstration
# using the Borland C++ compiler.
#
COMPDIR = E:\POS\POS # Compiler home directory
BCCFG = turboc.cfg # BC++ compiler configuration file
NOCFG = noinit.cfg # BC++ compiler configuration file
MKF = makefile # Build everything if the makefile is changed
MODEL = m
CPU = 1 # 0 - 8086, 1 - 80186/80386
WARNINGS = 1 # 0 - none, 1 - all
DUPSTRING = 1 # Duplicate string merged
CHECKSTACK = 1 # Check for stack overflow
STACK = 8192 # Application stack size (in bytes)
!include "paradigm.mkf" # Compiler/linker customization options
#
# Implicit rules for building C, C++, and assembly source modules
#
.cpp.obj:
$(COMPDIR)\bin\bcc -K -zD_NOINIT -zBNOINIT $(CFLAGS) $*.cpp
.c.obj:
$(COMPDIR)\bin\bcc -K -zD_NOINIT -zBNOINIT $(CFLAGS) $*.c
.asm.obj:
$(COMPDIR)\bin\tasm $(AFLAGS) $*.asm
#
# STARTUP - Startup object(s) that must be linked first
# OBJS - Other object files that form the application
#
STARTUP = $(COMPDIR)\LIB\5920401$(MODEL).obj
OBJS = main.obj noinit.obj
#
# The remainder of the make file is the targets and dependencies
#
main.$(OUT): main.rom main.$(CFG)
$(COMPDIR)\bin\locate -cmain.$(CFG) $(PFLAGS) $*
del *.rom
del *.map
del *.obj
main.rom: tlink.cfg $(STARTUP) $(OBJS)
$(COMPDIR)\bin\tlink @&&!
$(STARTUP) $(OBJS)
$*.rom
$*.map
$(LIBS)
!
#
# Update the compiler configuration file. This ensures that a default
# BC++ configuration file is never used to build an embedded application.
#
turboc.cfg: $(MKF)
copy &&|
$(CFLAGS)
| turboc.cfg
tlink.cfg: $(MKF)
copy &&|
$(LFLAGS)
| tlink.cfg
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -