view L1/audio_cfile/Makefile @ 31:f4da114088af

use the new "hybrid" version of cdginc headers
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 04:04:27 +0000
parents 002303327705
children
line wrap: on
line source

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

XOBJS=	l1audio_abb.o l1audio_drive.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