comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 FOR_LOADTOOLS= compalstage loadagent
2 ALLPROGS= ${FOR_LOADTOOLS} c139explore c139-lldbg helloapp pirexplore \
3 tf-breakin
4 LIBS= libbase libcommon libload libprintf libtiffs
5 SUBDIR= ${ALLPROGS} ${LIBS}
6
7 default: ${FOR_LOADTOOLS}
8 all: ${ALLPROGS}
9
10 c139explore: libbase libcommon libprintf
11 c139-lldbg: libbase libcommon libprintf
12 helloapp: libbase libcommon libprintf
13 loadagent: libbase libcommon libload libprintf
14 pirexplore: libbase libcommon libprintf libtiffs
15
16 ${SUBDIR}: FRC
17 cd $@; ${MAKE} ${MFLAGS}
18
19 install: FRC
20 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
21
22 clean: FRC
23 rm -f a.out core errs
24 for i in ${SUBDIR}; do \
25 if [ -d $$i ]; then \
26 (cd $$i; ${MAKE} ${MFLAGS} clean) \
27 fi \
28 done
29
30 FRC: