summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/Makefile
blob: 113e7e60a0e8788ce35d484686f6d613864072db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
INCLUDES=-I../include/ -I../../../../include
-include ../Makefile.inc

LIBNAME=layer1
OBJS=avg.o agc.o afc.o sync.o gsm.o tdma_sched.o tpu_window.o init.o l23_api.o

LST=$(OBJS:.o=.lst)

all:	lib$(LIBNAME).a

%.o: %.c
	$(CROSS_COMPILE)$(CC) $(CFLAGS) -c -o $@ $^

lib$(LIBNAME).a: $(OBJS)
	$(CROSS_COMPILE)$(AR) cru $@ $^

clean:
	rm -f *.a $(OBJS) $(LST)