📄 makefile
字号:
## 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_serialPRJ_NAME = ucos_serialOS_DIR = $(KERNEL_DIR)/ucosSERIAL_DIR = $(PRJ_DIR)/serial# 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)SERIAL_FILES = $(wildcard $(SERIAL_DIR)/*.c)APP_FILES = main_entry.cOBJS_FILES = $(ARCH_FILES) $(LIB_FILES) $(APP_FILES) $(OS_FILES) $(SERIAL_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)/ -I$(SERIAL_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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -