📄 makefile
字号:
#
# makefile
# the makefile for a very simple AT91 port
#
# Bugs Report: li ming (lmcs00@mails.tsinghua.edu.cn)
# Release: 2003-02-13 19:43:33
#
# include the all-project-shared file
include ../dir.make
# define this project information
PRJ_DIR = $(SAMPLE_DIR)/simple_test
PRJ_NAME = simple_test
# 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
APP_FILES = main_entry.c
OBJS_FILES = $(ARCH_FILES) $(LIB_FILES) $(APP_FILES)
START_OBJ = $(notdir $(START_FILE:.S=.o))
OBJS = $(notdir $(OBJS_FILES:.c=.o))
# define include dir-names
INCDIR = -I$(LIB_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 + -