view target-utils/Makefile @ 25:796da8d60b23

target-utils: top-level Makefile created like in the Book-E-MON and SDSL CPE source trees by the same author
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 05:02:04 +0000
parents
children 5b3d7398d2d9
line wrap: on
line source

PROGS=	helloapp loadagent
LIBS=	libcommom libload libprintf
SUBDIR=	${PROGS} ${LIBS}

default:	loadagent
all:		${PROGS}

helloapp:	libcommon libprintf
loadagent:	libcommon libload libprintf

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

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done

FRC: