makefile

来自「RockOS是在ARM上开发的」· 代码 · 共 47 行

TXT
47
字号
#------------------------------------------------------------
#
#	makefile.def : common definitions for makefile
#   Author       : sunxinqiu
#	Date         : 2005-06-30
#
# 	Description  : 
# 	    Common definition for makefile 
#
#------------------------------------------------------------

ifeq ($(ROOT_DIR), )
env_err:
	@echo Error: must define ROOT_DIR environment variable.
endif

# indicate the local partial project directory
PRJ_DIR	= $(ROOT_DIR)\bsp\$(BOARD)\src

# source files' list
SOURCES = 

# private compiler flags and include file path
SELF_ASFLAGS  = 
SELF_CFLAGS	  = 
SELF_CPPFLAGS = 
SELF_INCLUDE  = -I$(ROOT_DIR)/cfg \
                -I$(ROOT_DIR)/bsp/$(BOARD) \
                -I$(ROOT_DIR)/inc

# private macro or compiler conditions definations
SELF_DEFINE = 

# private link definations
SELF_LINK_OPT = 

ifeq ($(OS_DEBUG), YES)
SELF_ASFLAGS += -g
SELF_CFLAGS += -g
SELF_DEFINE += 
endif


EXECUTABLE = $(ROOT_DIR)\bsp\bsp.elf

include $(ROOT_DIR)\makefile.def

⌨️ 快捷键说明

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