diff gsm-fw/L1/audio_cfile/Makefile @ 612:700d450bb8da

L1: audio_cfile included in the build
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 29 Aug 2014 05:49:19 +0000
parents 3121e35f422c
children 56e3d8560d69
line wrap: on
line diff
--- a/gsm-fw/L1/audio_cfile/Makefile	Fri Aug 29 05:44:42 2014 +0000
+++ b/gsm-fw/L1/audio_cfile/Makefile	Fri Aug 29 05:49:19 2014 +0000
@@ -7,10 +7,13 @@
 
 XOBJS=	l1audio_abb.o l1audio_init.o
 
-all:	${XOBJS}
+all:	xipcode.o
 
 ${XOBJS}:	%.o : %.c
 	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
 
+xipcode.o:	${XOBJS}
+	${LD} -r -o $@ ${XOBJS}
+
 clean:
 	rm -f *.[oa] *.out *errs