comparison gsm-fw/L1/cfile/Makefile @ 551:2e662daa7441

L1: l1_cmplx.c compiles for IRAM
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 03 Aug 2014 18:32:58 +0000
parents 6455c06fceb3
children 81cef37b96f9
comparison
equal deleted inserted replaced
550:6455c06fceb3 551:2e662daa7441
1 CC= arm-elf-gcc 1 CC= arm-elf-gcc
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ 2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
3 -I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM 3 -I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork 4 CFLAGS= -O2 -fno-builtin -mthumb-interwork
5 LD= arm-elf-ld 5 LD= arm-elf-ld
6 INTSED= ../intram.sed
6 7
7 IOBJS= l1_api_hisr.o 8 IOBJS= l1_api_hisr.o l1_cmplx_intram.o
8 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o 9 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o
9 10
10 all: ${IOBJS} ${XOBJS} 11 all: ${IOBJS} ${XOBJS}
11 12
12 ${XOBJS}: %.o : %.c 13 ${XOBJS}: %.o : %.c
13 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< 14 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
14 15
16 l1_cmplx_intram.c: l1_cmplx.c ${INTSED}
17 sed -n -f ${INTSED} l1_cmplx.c > $@
18
15 clean: 19 clean:
16 rm -f *.[oa] *.out *errs 20 rm -f *.[oa] l1_*_intram.c *.out *errs