view target-utils/Makefile @ 38:5b3d7398d2d9

target-utils top level Makefile buglet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 13 May 2013 20:40:44 +0000
parents 796da8d60b23
children c9768f5fb329
line wrap: on
line source

PROGS=	helloapp loadagent
LIBS=	libcommon 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: