summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/Makefile
blob: 396395814bcc8c9f2acd03a2e1ecbc1bbad9f563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 \
	mframe_sched.o sched_gsmtime.o async.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)