22 lines
304 B
Makefile
22 lines
304 B
Makefile
|
TARGET=uart
|
||
|
ARCH=LPC13
|
||
|
CPU=$(ARCH)42
|
||
|
DEBUG=-g
|
||
|
OPTIM=-Os -mword-relocations
|
||
|
|
||
|
APP_CFLAGS=-Iinc -std=gnu99 -fgnu89-inline -D__USE_CMSIS
|
||
|
APP_LDFLAGS=-lm
|
||
|
|
||
|
APP_SRC= \
|
||
|
src/uarttest.c
|
||
|
|
||
|
APP_SRC+=$(IMAGES_C)
|
||
|
|
||
|
all: $(TARGET).bin
|
||
|
|
||
|
app_clean:
|
||
|
find src -name '*.o' -exec rm \{\} \;
|
||
|
|
||
|
include ../core/Makefile.rules
|
||
|
|