comparison target-utils/Makefile @ 43:647a7bdba4be

target-utils/Makefile: install c139explore and pirexplore
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 05:40:33 +0000
parents e7502631a0f9
children 5bbba2cab6f3
comparison
equal deleted inserted replaced
42:750765d6caeb 43:647a7bdba4be
1 FOR_LOADTOOLS= compalstage loadagent 1 INSTPROGS= compalstage c139explore loadagent pirexplore
2 ALLPROGS= ${FOR_LOADTOOLS} c139explore c139-lldbg helloapp pirexplore \ 2 ALLPROGS= ${INSTPROGS} c139-lldbg helloapp tf-breakin
3 tf-breakin
4 LIBS= libbase libcommon libload libprintf libtiffs 3 LIBS= libbase libcommon libload libprintf libtiffs
5 SUBDIR= ${ALLPROGS} ${LIBS} 4 SUBDIR= ${ALLPROGS} ${LIBS}
6 5
7 default: ${FOR_LOADTOOLS} 6 default: ${INSTPROGS}
8 all: ${ALLPROGS} 7 all: ${ALLPROGS}
9 8
10 c139explore: libbase libcommon libprintf 9 c139explore: libbase libcommon libprintf
11 c139-lldbg: libbase libcommon libprintf 10 c139-lldbg: libbase libcommon libprintf
12 helloapp: libbase libcommon libprintf 11 helloapp: libbase libcommon libprintf
15 14
16 ${SUBDIR}: FRC 15 ${SUBDIR}: FRC
17 cd $@; ${MAKE} ${MFLAGS} 16 cd $@; ${MAKE} ${MFLAGS}
18 17
19 install: FRC 18 install: FRC
20 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done 19 for i in ${INSTPROGS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
21 20
22 clean: FRC 21 clean: FRC
23 rm -f a.out core errs 22 rm -f a.out core errs
24 for i in ${SUBDIR}; do \ 23 for i in ${SUBDIR}; do \
25 if [ -d $$i ]; then \ 24 if [ -d $$i ]; then \