view gsm-fw/L1/audio_cfile/Makefile @ 661:c36fe9d1da7e

gsm-fw/ccd/README: added paragraph explaining how ccddata depends on cdginc
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 26 Sep 2014 00:49:59 +0000
parents 700d450bb8da
children 56e3d8560d69
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

XOBJS=	l1audio_abb.o l1audio_init.o

all:	xipcode.o

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

xipcode.o:	${XOBJS}
	${LD} -r -o $@ ${XOBJS}

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