comparison gsm-fw/L1/cfile/Makefile @ 575:1d7a12925b8e

gsm-fw/L1/cfile: iramcode.o and xipcode.o built
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 11 Aug 2014 03:59:26 +0000
parents 8fe8cae8cf92
children 3fea71719423
comparison
equal deleted inserted replaced
574:8fe8cae8cf92 575:1d7a12925b8e
10 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ 10 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \
11 l1_mfmgr.o l1_small_asm.o l1_sync_intram.o 11 l1_mfmgr.o l1_small_asm.o l1_sync_intram.o
12 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_small_defs.o \ 12 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_small_defs.o \
13 l1_sync.o l1_trace.o 13 l1_sync.o l1_trace.o
14 14
15 all: ${IOBJS} ${XOBJS} 15 all: iramcode.o xipcode.o
16 16
17 ${XOBJS}: %.o : %.c 17 ${XOBJS}: %.o : %.c
18 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< 18 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
19 19
20 l1_cmplx_intram.c: l1_cmplx.c ${INTSED} 20 l1_cmplx_intram.c: l1_cmplx.c ${INTSED}
21 sed -n -f ${INTSED} l1_cmplx.c > $@ 21 sed -n -f ${INTSED} l1_cmplx.c > $@
22 22
23 l1_sync_intram.c: l1_sync.c ${INTSED} 23 l1_sync_intram.c: l1_sync.c ${INTSED}
24 sed -n -f ${INTSED} l1_sync.c > $@ 24 sed -n -f ${INTSED} l1_sync.c > $@
25 25
26 iramcode.o: ${IOBJS}
27 ${LD} -r -o $@ ${IOBJS}
28
29 xipcode.o: ${XOBJS}
30 ${LD} -r -o $@ ${XOBJS}
31
26 clean: 32 clean:
27 rm -f *.[oa] l1_*_intram.c *.out *errs 33 rm -f *.[oa] l1_*_intram.c *.out *errs