view target-utils/Makefile @ 306:81bee6125882

DAR integration: header cleanup
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Mar 2014 06:50:26 +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: