view target-utils/Makefile @ 129:7d7950d7f924

Riviera should be ready for the first TI fw build attempt
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 01 Nov 2013 06:13:58 +0000
parents 3b9cc76f2073
children 3daa8ebbe74d
line wrap: on
line source

PROGS=	helloapp loadagent pirexplore
LIBS=	libcommon libload libmpffs libprintf
SUBDIR=	${PROGS} ${LIBS}

default:	loadagent
all:		${PROGS}

helloapp:	libcommon libprintf
loadagent:	libcommon libload libprintf
pirexplore:	libcommon libmpffs libprintf

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

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do \
		if [ -d $$i ]; then \
			(cd $$i; ${MAKE} ${MFLAGS} clean) \
		fi \
	done

FRC: