📄 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 information
PRJ_DIR = $(SAMPLE_DIR)/ucos_test
PRJ_NAME = ucos_test
OS_DIR = $(KERNEL_DIR)/ucos
# define building objs for this project
START_FILE = $(ARCH_DIR)/start.S
ARCH_FILES = $(ARCH_DIR)/at91_aic.c $(ARCH_DIR)/at91_usart.c $(ARCH_DIR)/at91_tc.c $(ARCH_DIR)/at91_init.c
LIB_FILES = $(LIB_DIR)/skyeye_stdio.c $(LIB_DIR)/skyeye_printf.c
OS_FILES = $(wildcard $(OS_DIR)/*.c) $(wildcard $(OS_DIR)/*.S)
APP_FILES = main_entry.c
OBJS_FILES = $(ARCH_FILES) $(LIB_FILES) $(APP_FILES) $(OS_FILES)
# define building objs for this project
START_OBJ = $(notdir $(START_FILE:.S=.o))
_OBJS = $(notdir $(OBJS_FILES:.c=.o))
OBJS = $(_OBJS:.S=.o)
# define include dir-names
INCDIR = -I$(LIB_DIR)/ -I$(OS_DIR)/ -I$(ARCH_DIR)/
# define compiling and linking FLAGS
CPFLAGS := -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-float
ASFLAGS := -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 + -