FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/L1/cfile/Makefile @ 569:9df89f93d311
L1: l1_sync.c compiles for IRAM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 10 Aug 2014 17:58:02 +0000 |
parents | ae24e49c41a9 |
children | 8d6062f4e7e4 |
comparison
equal
deleted
inserted
replaced
568:ae24e49c41a9 | 569:9df89f93d311 |
---|---|
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork | 5 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
6 LD= arm-elf-ld | 6 LD= arm-elf-ld |
7 INTSED= ../intram.sed | 7 INTSED= ../intram.sed |
8 | 8 |
9 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ | 9 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ |
10 l1_mfmgr.o | 10 l1_mfmgr.o l1_sync_intram.o |
11 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_sync.o | 11 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_sync.o |
12 | 12 |
13 all: ${IOBJS} ${XOBJS} | 13 all: ${IOBJS} ${XOBJS} |
14 | 14 |
15 ${XOBJS}: %.o : %.c | 15 ${XOBJS}: %.o : %.c |
16 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< | 16 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< |
17 | 17 |
18 l1_cmplx_intram.c: l1_cmplx.c ${INTSED} | 18 l1_cmplx_intram.c: l1_cmplx.c ${INTSED} |
19 sed -n -f ${INTSED} l1_cmplx.c > $@ | 19 sed -n -f ${INTSED} l1_cmplx.c > $@ |
20 | 20 |
21 l1_sync_intram.c: l1_sync.c ${INTSED} | |
22 sed -n -f ${INTSED} l1_sync.c > $@ | |
23 | |
21 clean: | 24 clean: |
22 rm -f *.[oa] l1_*_intram.c *.out *errs | 25 rm -f *.[oa] l1_*_intram.c *.out *errs |