makefile

来自「定点除法器程序」· 代码 · 共 40 行

TXT
40
字号
-include ../../Make.configNAME = basic#define source files: .S, .c, .cppSRCS = test_div.c #define your own link scripts.Give a chance to override it globally.#LDFILE?=#LDFILE?=sl1_ram.ld#Add your own compilation flags#CFLAGS+= #Add target-dependent compilation flags#board: CFLAGS+= -D_DEBUG_ -I$(SOC_TEST_ROOT)/sl1_lib/#sim: CFLAGS+= -I/home/jiyp/sl1/sys/algorithm/alg_lonicom -keep -show#verify: CFLAGS+=#Add common linker flags#LDFLAGS+=#Add target-dependent linker flags#board: LDFLAGS+=#sim: LDFLAGS+= -keep -show#verify: LDFLAGS+=#By default, no libraries are needed for each target.#LDLIBS=#You can add different libraries for different targets.board: LDLIBS+=-ldebug#sim: LDLIBS+=-ldebugverify: LDLIBS+=-ldebug#If not all targets are needed by default, you can remove one or more from below definition.TARGETS=board-include $(SOC_TEST_ROOT)/support/build_test.mk

⌨️ 快捷键说明

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