diff gsm-fw/L1/dyn_dwl_cfile/Makefile @ 927:48969469d961

gsm-fw: l1_dyn_dwl code compiles and links
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 22 Oct 2015 19:04:36 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/L1/dyn_dwl_cfile/Makefile	Thu Oct 22 19:04:36 2015 +0000
@@ -0,0 +1,20 @@
+CC=	arm-elf-gcc
+CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
+	-I../dyn_dwl_include -I../tm_include -I../tm_cust0 -I../cust0 \
+	-I../tpudrv -DMOVE_IN_INTERNAL_RAM
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork
+LD=	arm-elf-ld
+
+XOBJS=	l1_dyn_dwl_afunc.o l1_dyn_dwl_apihisr.o l1_dyn_dwl_async.o \
+	l1_dyn_dwl_func.o l1_dyn_dwl_init.o l1_dyn_dwl_sync.o
+
+all:	xipcode.o
+
+${XOBJS}:	%.o : %.c
+	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
+
+xipcode.o:	${XOBJS}
+	${LD} -r -o $@ ${XOBJS}
+
+clean:
+	rm -f *.[oa] *.out *errs