view gsm-fw/L1/Makefile @ 605:527956ce73c7

gsm-fw/L1/audio_include/l1audio_btapi.h: messed up previous #include fix
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 19:11:00 +0000
parents 2fd248f74a20
children b8a277d81746
line wrap: on
line source

LD=	arm-elf-ld

SUBDIR=	cfile cust0 dsp tpudrv

INT_PIECES=	cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o
EXT_PIECES=	cfile/xipcode.o cust0/xipcode.o dsp/xipcode.o

all:	iramcode.o xipcode.o

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

cfile/iramcode.o cfile/xipcode.o:	cfile
	@true

cust0/iramcode.o cust0/xipcode.o:	cust0
	@true

dsp/xipcode.o:	dsp
	@true

tpudrv/iramcode.o:	tpudrv
	@true

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

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

clean: FRC
	rm -f *.[oa] *.out *errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

FRC: