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

📄 sh3.mf

📁 epson 13506 driver code
💻 MF
字号:
# makefile fragment sh3.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.sh3	:= LCEVBSH3

# COMPILER is the name passed in the command line to identify which tool set to use
COMPILER.sh3	:= sh3

# CPU is an option passed on the command line to select the particular CPU family member
CPU.sh3		:= -ml

# LIBS lists the names of libraries needed by this target
LIBS.sh3	:= $(CHIPNAME)hal libse

# CFLAGS lists the compiler flags to use when compiling C programs
CFLAGS.sh3	:= $(CPU.sh3) -O2

# LDFLAGS lists the flags to use when linking
LDFLAGS.sh3	:= $(CPU.sh3) -T sh3lcevb.ld

# ARFLAGS fixes a library manager problem (ar)
ARFLAGS.sh3 := rvS

# filename extensions for this target
ASM.sh3		:= s
OBJ.sh3		:= o
LIB.sh3		:= a
EXE.sh3		:= cof
HEX.sh3		:= lvb
DEP.sh3		:= d

# 'extra' objects needed for HAL and LIBSE
# use just the basename here - no filename extensions
HAL_EXTRAS.sh3	:= hal_emb
LIBSE_EXTRAS.sh3 := sh3getch sh3putch
EXTRAS.sh3	:=

# command line to link OBJs into EXE
LINK.sh3	= $(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.sh3	= $(OBJCOPY) -O srec $(@F:.$(HEX)=.$(EXE)) $@


⌨️ 快捷键说明

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