FreeCalypso > hg > freecalypso-tools
diff target-utils/Makefile @ 0:e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Jun 2016 00:13:35 +0000 |
parents | |
children | 647a7bdba4be |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/target-utils/Makefile Sat Jun 11 00:13:35 2016 +0000 @@ -0,0 +1,30 @@ +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: