makefile

来自「lwip在ucos上的移植源码」· 代码 · 共 41 行

TXT
41
字号
##  makefile #  the makefile for ucos-ii armulator port##  Bugs Report:  li ming (lmcs00@mails.tsinghua.edu.cn)#  Release:      2003-02-13 19:57:14 ## include the all-project-shared file include ../dir.make	# define this project informationPRJ_DIR  = $(SAMPLE_DIR)/ucos_testPRJ_NAME = ucos_testOS_DIR = $(KERNEL_DIR)/ucos# define building objs for this projectSTART_FILE	= $(ARCH_DIR)/start.SARCH_FILES  	= $(ARCH_DIR)/at91_aic.c $(ARCH_DIR)/at91_usart.c $(ARCH_DIR)/at91_tc.c $(ARCH_DIR)/at91_init.cLIB_FILES	= $(LIB_DIR)/skyeye_stdio.c $(LIB_DIR)/skyeye_printf.cOS_FILES 	= $(wildcard $(OS_DIR)/*.c) $(wildcard $(OS_DIR)/*.S)APP_FILES	= main_entry.cOBJS_FILES	= $(ARCH_FILES) $(LIB_FILES) $(APP_FILES) $(OS_FILES)# define building objs for this projectSTART_OBJ  	= $(notdir $(START_FILE:.S=.o))_OBJS 		= $(notdir $(OBJS_FILES:.c=.o))OBJS 		= $(_OBJS:.S=.o)# define include dir-namesINCDIR	= -I$(LIB_DIR)/  -I$(OS_DIR)/ -I$(ARCH_DIR)/# define compiling and linking FLAGSCPFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -g -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-floatASFLAGS := -D__ASSEMBLY__ -DNO_MM -g -mapcs-32 -marmv4 -msoft-float -mno-fpu -g# include the all-project-shared file include ../rules.make	

⌨️ 快捷键说明

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