crashtest-r0ket/openbeacon/lpc13xx/openbeacon-usb2/Makefile

33 lines
698 B
Makefile
Raw Normal View History

2011-06-12 02:18:11 +00:00
TARGET=openbeacon-usb2
ARCH=LPC13
CPU=$(ARCH)43
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/nRF_CMD.c \
src/nRF_API.c \
src/pin.c \
src/pmu.c \
2011-06-12 02:33:50 +00:00
# src/storage.c
2011-06-12 02:18:11 +00:00
APP_SRC+=$(IMAGES_C)
all: $(TARGET).bin
publish: clean $(TARGET).bin
rm -f $(TARGET).zip
../lpc-flash/src/lpc-flash $(TARGET).bin firmware.bin
zip $(TARGET).zip firmware.bin
scp $(TARGET).zip firmware.bin meri@bitmanufaktur.net:/home/wwwrun/open.bitmanufaktur.com/web/www/people/milosch/usb2tag/
app_clean:
rm -f $(TARGET).zip $(TARGET)-firmware.bin
find src -name '*.o' -exec rm \{\} \;
include ../core/Makefile.rules