view gsm-fw/L1/cfile/Makefile @ 558:565bf963c3a2

gsm-fw/L1/dsp/leadapi.[ch]: import from Leonardo semi-src
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 04 Aug 2014 17:58:49 +0000
parents 3bb11261b9fe
children b1358d6c4496
line wrap: on
line source

CC=	arm-elf-gcc
CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
	-I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \
	-DMOVE_IN_INTERNAL_RAM
CFLAGS=	-O2 -fno-builtin -mthumb-interwork
LD=	arm-elf-ld
INTSED=	../intram.sed

IOBJS=	l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o
XOBJS=	l1_afunc.o l1_async.o l1_cmplx.o

all:	${IOBJS} ${XOBJS}

${XOBJS}:	%.o : %.c
	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<

l1_cmplx_intram.c:	l1_cmplx.c ${INTSED}
	sed -n -f ${INTSED} l1_cmplx.c > $@

clean:
	rm -f *.[oa] l1_*_intram.c *.out *errs