📄 makefile
字号:
## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -