Initial import of OsmocomBB into git repository
[osmocom-bb.git] / src / target / firmware / calypso / Makefile
1 INCLUDES=-I../include/
2 -include ../Makefile.inc
3
4 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
5
6 LST=$(OBJS:.o=.lst)
7
8 all:    libcalypso.a
9
10 %.o: %.c
11         $(CROSS_COMPILE)$(CC) $(CFLAGS) -c -o $@ $^
12
13 libcalypso.a: $(OBJS)
14         $(CROSS_COMPILE)$(AR) cru $@ $^
15
16 clean:
17         rm -f *.a $(OBJS) $(LST)