makefile

来自「UCSO在三星S3C44B0X CPU上的移植。ejoy it」· 代码 · 共 52 行

TXT
52
字号
## ARM-uC/OS ## File: Makefile## Assumes armcc/armasm/armlink are in the PATH. ## Build uC/OS, example1 and the ping example for the# VLSI's ARM-based PID development board.#CFLAGS= -c -li -zpq8 -zps1	# -zps1 avoids stack checking calls				#				# the PID board uses the ARM configured				# little endian				#				# define PIDLEDS to see the PID leds				# counting the secondsAFLAGS= -li -apcs 3/32bit	# use apcs 32 bit and little endian# override standard macrosCOMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) LINK.o=$(LD) $(LDFLAGS) $@ $<COMPILE.s=$(AS) $(AFLAGS)AS = armasmCC = armccLD = armlinkOBJS = subr.o os.o pid.o crt.oall:	example1 pingexample1:	example1.o $(OBJS)	armlink -o $@ example1.o $(OBJS)example1.o:	example1.cping:	ping.o $(OBJS)	armlink -o $@ ping.o $(OBJS)ping.o:	ping.ccrt.o:	crt.s crt.hos.o:	os.c pid.h ucos.h osdefs.hpid.o:	pid.c pid.h ucos.h osdefs.h	subr.o:	subr.s

⌨️ 快捷键说明

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