makefile

来自「将OpenCV移植到DSP上」· 代码 · 共 50 行

TXT
50
字号
#  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 + =
减小字号Ctrl + -
显示快捷键?