view target-utils/Makefile @ 53:27d7d7e2d9bd

rvinterf/asyncshell/help.c: new help file location
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 06:17:51 +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: