view target-utils/Makefile @ 74:84920d3d97c6

rvinterf/asyncshell/main.c: same "usage" fix as in fc-tmsh
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 27 Oct 2016 00:18:49 +0000
parents 647a7bdba4be
children 5bbba2cab6f3
line wrap: on
line source

INSTPROGS=	compalstage c139explore loadagent pirexplore
ALLPROGS=	${INSTPROGS} c139-lldbg helloapp tf-breakin
LIBS=		libbase libcommon libload libprintf libtiffs
SUBDIR=		${ALLPROGS} ${LIBS}

default:	${INSTPROGS}
all:		${ALLPROGS}

c139explore:	libbase libcommon libprintf
c139-lldbg:	libbase libcommon libprintf
helloapp:	libbase libcommon libprintf
loadagent:	libbase libcommon libload libprintf
pirexplore:	libbase libcommon libprintf libtiffs

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

install: FRC
	for i in ${INSTPROGS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done

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: