view target-utils/Makefile @ 296:792f164b63a6

fc-fsio: cpout now works the way it should
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 01 Mar 2014 08:19:15 +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: