⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 各种硬件平台上的us OS移植实例(arm6)
💻
字号:
#> Makefile# ARM uC/OS targetted at the ARM600 VY86PID board.## $Revision: 0.1 $#   $Author: jsmith $#     $Date: 941103 $## Copyright (c) 1994, VLSI Technology Inc. All Rights Reserved.#------------------------------------------------------------------------------## This file is currently setyup to construct a VY86PID targetted# version of uC/OS. If a different target is required then a port of# C-Demon needs to be available. This make can then reference the# C-Demon and target specific header files from the C-Demon source tree.#CDEFS = -I../C-Demon -DVY86PID -I../C-Demon/VY86PIDADEFS = -I../C-Demon -PD "VY86PID SETL {TRUE}" -I../C-Demon/VY86PID## -g	generates debugging information# -zps1	disables software stack checkingCFLAGS= -g -li -apcs 3/32bit/fpe2 -c -zps1 $(CDEFS)AFLAGS= -g -li -apcs 3/32bit $(ADEFS)LFLAGS = -debug#LFLAGS = -debug -map#AS	= armasmCC	= armccLINK	= armlink#.c.o:	$(CC) $(CFLAGS) -o $@ $<#.s.o:	$(AS) $(AFLAGS) $< -o $@##------------------------------------------------------------------------------#TARGETS = ucos.a example1 example2 example3 example4 example5 qtest## The following objects make up the uC/OS system:UCOSOBJS= kern600.o ucos.o init.o## The following manifest defines where the created executables will be# loaded:BASE	= 0x8000#all:	$(TARGETS)noarg:	all##------------------------------------------------------------------------------# This is not a library, but is a partially linked AOF file.#ucos.a:	$(UCOSOBJS)	$(LINK) $(LFLAGS) -AOF -o $@ $(UCOSOBJS)##------------------------------------------------------------------------------# The examples are all quite simple, single file ones at the moment:#example1:	example1.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ example1.o $(UCOSOBJS)example2:	example2.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ example2.o $(UCOSOBJS)example3:	example3.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ example3.o $(UCOSOBJS)example4:	example4.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ example4.o $(UCOSOBJS)example5:	example5.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ example5.o $(UCOSOBJS)qtest:	qtest.o $(UCOSOBJS)	$(LINK) $(LFLAGS) -base $(BASE) -aif -o $@ qtest.o $(UCOSOBJS)#------------------------------------------------------------------------------clean:	@rm -f $(TARGETS) $(UCOSOBJS) *.o#------------------------------------------------------------------------------#> EOF Makefile

⌨️ 快捷键说明

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