view target-utils/Makefile @ 269:6e7410f7975c

gsm-fw feature pirhack-ffs: require explicit selection of sectors to be used
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 06 Feb 2014 03:09:39 +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: