view gsm-fw/L1/cust0/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 2dccd2b4e5a2
children 452a4aea3fc5
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../tpudrv
CFLAGS=	-O2 -fno-builtin -mthumb-interwork
LD=	arm-elf-ld

IOBJS=	ind_os.o l1_cust_iram.o
XOBJS=	l1_cust_xip.o l1_rf12.o

all:	iramcode.o xipcode.o

l1_cust_iram.o:	l1_cust.c
	${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_INT_RAM -c -o $@ $<

l1_cust_xip.o:	l1_cust.c
	${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_FLASH -mthumb -c -o $@ $<

iramcode.o:	${IOBJS}
	${LD} -r -o $@ ${IOBJS}

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

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