diff options
Diffstat (limited to 'src/target/firmware/calypso/Makefile')
-rw-r--r-- | src/target/firmware/calypso/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/target/firmware/calypso/Makefile b/src/target/firmware/calypso/Makefile new file mode 100644 index 00000000..a2be3cfa --- /dev/null +++ b/src/target/firmware/calypso/Makefile @@ -0,0 +1,17 @@ +INCLUDES=-I../include/ +-include ../Makefile.inc + +OBJS=arm.o clock.o dma.o dsp.o du.o i2c.o irq.o rtc.o spi.o tpu.o tsp.o keypad.o misc.o timer.o backlight.o uart.o + +LST=$(OBJS:.o=.lst) + +all: libcalypso.a + +%.o: %.c + $(CROSS_COMPILE)$(CC) $(CFLAGS) -c -o $@ $^ + +libcalypso.a: $(OBJS) + $(CROSS_COMPILE)$(AR) cru $@ $^ + +clean: + rm -f *.a $(OBJS) $(LST) |