view target-utils/Makefile @ 352:39b5b18e26b2

os_com_fl.c: os_CreateQueue() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 12 May 2014 00:04:13 +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: