makefile

来自「介绍ROCK OS操作系统.一般用于汽车电子,类似OCVX.里面是个DEMO文档」· 代码 · 共 46 行

TXT
46
字号
#------------------------------------------------------------
#
#	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)\shell

# 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_CFLAGS += -g
SELF_DEFINE += 
endif


EXECUTABLE = $(PRJ_DIR)\shell.elf

include $(ROOT_DIR)\makefile.def

⌨️ 快捷键说明

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