📄 bcc.mf
字号:
# makefile fragment bcc.mf
# define build parameters for Motorola M68332 Business Card Computer
# TARGETNAME specifies the target we are building for
# it is defined for conditional compilation in C source
TARGETNAME.bcc := BCC68K
# COMPILER is the name passed in the command line to identify which tool set to use
COMPILER.bcc := 68k
# CPU is an option passed on the command line to select the particular CPU family member
CPU.bcc := -mcpu32
# LIBS lists the names of libraries needed by this target
LIBS.bcc := $(CHIPNAME)hal libse
# CFLAGS lists the compiler flags to use when compiling C programs
CFLAGS.bcc := $(CPU.bcc) -O2
# LDFLAGS lists the flags to use when linking
LDFLAGS.bcc := $(CPU.bcc) -T bcc.ld
# filename extensions for this target
ASM.bcc := s
OBJ.bcc := o
LIB.bcc := a
EXE.bcc := cof
HEX.bcc := bcc
DEP.bcc := d
# 'extra' objects needed for HAL and LIBSE
# use just the basename here - no filename extensions
HAL_EXTRAS.bcc := hal_emb
LIBSE_EXTRAS.bcc := bccgetch bccputch bcckbhit
EXTRAS.bcc :=
# command line to link OBJs into EXE
LINK.bcc = $(LINK.o) $^ $(LDLIBS) -o $@
# command line to convert an EXE file to a HEX file
# note: can't use $< here, because one of the dependancies will be the destination directory
# instead, transform the name of the target to get the source file
EXEtoHEX.bcc = $(OBJCOPY) -O srec $(@F:.$(HEX)=.$(EXE)) $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -