?? ads.mf
字號:
# makefile fragment ads.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.ads := MPC8xx
# COMPILER is the name passed in the command line to identify which tool set to use
COMPILER.ads := ppc
# CPU is an option passed on the command line to select the particular CPU family member
CPU.ads := -mads
# LIBS lists the names of libraries needed by this target
LIBS.ads := $(CHIPNAME)hal libse
# CFLAGS lists the compiler flags to use when compiling C programs
#CFLAGS.ads := $(CPU.ads) -O2
CFLAGS.ads := $(CPU.ads) -O2 -DBUSTED_UART
# LDFLAGS lists the flags to use when linking
LDFLAGS.ads := $(CPU.ads)
# filename extensions for this target
ASM.ads := s
OBJ.ads := o
LIB.ads := a
EXE.ads := elf
HEX.ads := elf
DEP.ads := d
# 'extra' objects needed for HAL and LIBSE
# use just the basename here - no filename extensions
HAL_EXTRAS.ads := hal_emb
#LIBSE_EXTRAS.ads := adsgetch adsputch adskbhit
LIBSE_EXTRAS.ads := adsgetch adsputch adskbhit syscall
EXTRAS.ads :=
# command line to link OBJs into EXE
LINK.ads = $(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.ads = copy $(@F) $(TargetFile)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -