📄 makefile
字号:
# Makefile for creation of the program named by the PROG variable
#
# The following naming conventions are used by this makefile:
# <prog>.asm - C62 assembly language source file
# <prog>.obj - C62 object file (compiled/assembled source)
# <prog>.out - C62 executable (fully linked program)
# <prog>cfg.s62 - configuration assembly source file generated
# by Configuration Tool
# <prog>cfg.h62 - configuration assembly header file generated
# by Configuration Tool
# <prog>cfg.cmd - configuration linker command file generated
# by Configuration Tool
#
TI_DIR := $(subst \,/,$(TI_DIR))
include $(TI_DIR)/c6000/bios/include/c62rules.mak
#
# Compiler, assembler, and linker options.
#
# -g enable symbolic debugging
CC62OPTS = -g
# -g enable symbolic debugging
AS62OPTS = -g
# -c ROM autoinotoalization model
# -stack 0x400 set C stack syze to 0x400 words
# -heap 0x400 set heap size to 0x400 words
# -q quiet run
LD62OPTS = -c -stack 0x400 -heap 0x400 -q
PROG = volume
OBJS = vectors.obj load.obj
LIBS = -lrts6200.lib
CMDS = $(PROG).cmd
#
# Targets:
#
all:: $(PROG).out
$(PROG).out: $(OBJS) $(CMDS)
$(PROG).obj:
.clean clean::
@ echo removing object files and binaries ...
@$(REMOVE) -f *.obj *.out *.lst *.map
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -