23 lines
315 B
Makefile
23 lines
315 B
Makefile
|
TARGET=rfid
|
||
|
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/main.c \
|
||
|
src/rfid.c
|
||
|
|
||
|
APP_SRC+=$(IMAGES_C)
|
||
|
|
||
|
all: $(TARGET).bin
|
||
|
|
||
|
app_clean:
|
||
|
find src -name '*.o' -exec rm \{\} \;
|
||
|
|
||
|
include ../core/Makefile.rules
|
||
|
|