diff options
Diffstat (limited to 'src/target/firmware/layer1/Makefile')
-rw-r--r-- | src/target/firmware/layer1/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/target/firmware/layer1/Makefile b/src/target/firmware/layer1/Makefile new file mode 100644 index 00000000..113e7e60 --- /dev/null +++ b/src/target/firmware/layer1/Makefile @@ -0,0 +1,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) |