view target-utils/Makefile @ 345:460ed6748e4c

OSL: os_pro_ir.c done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 07 May 2014 18:45:50 +0000
parents 1b4beffc8055
children b39802cd9329
line wrap: on
line source

FOR_LOADTOOLS=	compalstage loadagent
ALLPROGS=	${FOR_LOADTOOLS} helloapp pirexplore
LIBS=		libcommon libload libprintf libtiffs
SUBDIR=		${ALLPROGS} ${LIBS}

default:	${FOR_LOADTOOLS}
all:		${ALLPROGS}

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: