view target-utils/Makefile @ 1012:93f4fc26b204

fc-shell: arbitrary send command implemented in one-shot mode
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 20 Mar 2016 22:06:11 +0000
parents 5cff3579814c
children
line wrap: on
line source

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

default:	${FOR_LOADTOOLS}
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 ${FOR_LOADTOOLS}; 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: