view target-utils/Makefile @ 298:100192a92472

rvinterf subtree: etmsync added to the build
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 02 Mar 2014 00:39:56 +0000
parents 2900fe603f8a
children 1b4beffc8055
line wrap: on
line source

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

default:	loadagent
all:		${PROGS}

helloapp:	libcommon libprintf
loadagent:	libcommon libload libprintf
pirexplore:	libcommon libload libprintf libtiffs

${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: