view g23m-gsm/Makefile @ 13:a2723de00e06

L1/audio_cfile: untouched LoCosto source modules removed
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 Jun 2016 06:21:21 +0000
parents 75a11d740a02
children
line wrap: on
line source

LD=	arm-elf-ld

SUBDIR=	alr cc dl l1 mm rr sim sms ss

XIP_OBJS=	alr/xipcode.o cc/xipcode.o dl/xipcode.o l1/l1_pei.o \
		mm/xipcode.o rr/xipcode.o sim/xipcode.o sms/xipcode.o \
		ss/xipcode.o

all:	xipcode.o

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

alr/xipcode.o:	alr
	@true

cc/xipcode.o:	cc
	@true

dl/xipcode.o:	dl
	@true

l1/l1_pei.o:	l1
	@true

mm/xipcode.o:	mm
	@true

rr/xipcode.o:	rr
	@true

sim/xipcode.o:	sim
	@true

sms/xipcode.o:	sms
	@true

ss/xipcode.o:	ss
	@true

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

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

FRC: