view target-utils/Makefile @ 44:b77005f6d315

loadtools: migration to /opt/freecalypso
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 05:55:04 +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: