FreeCalypso > hg > freecalypso-tools
annotate target-utils/Makefile @ 165:de701ebdce1b
ffstools/Makefile: tiaud subdir added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 19 Mar 2017 08:00:29 +0000 |
parents | cbc6bc05d494 |
children | 5515360e2f61 |
rev | line source |
---|---|
76
5bbba2cab6f3
target-utils: buzplayer started
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
1 INSTPROGS= buzplayer compalstage c139explore loadagent pirexplore |
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
2 ALLPROGS= ${INSTPROGS} c139-lldbg helloapp tf-breakin |
94
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
3 LIBS= libbase libc libcommon libload libprintf libtiffs |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 SUBDIR= ${ALLPROGS} ${LIBS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
6 default: ${INSTPROGS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${ALLPROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
94
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
9 buzplayer: libbase libc libcommon libprintf |
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
10 c139explore: libbase libc libcommon libprintf |
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
11 c139-lldbg: libbase libc libcommon libprintf |
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
12 helloapp: libbase libc libcommon libprintf |
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
13 loadagent: libbase libc libcommon libload libprintf |
cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
76
diff
changeset
|
14 pirexplore: libbase libc libcommon libprintf libtiffs |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${SUBDIR}: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 cd $@; ${MAKE} ${MFLAGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install: FRC |
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
20 for i in ${INSTPROGS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 clean: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 rm -f a.out core errs |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 for i in ${SUBDIR}; do \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 if [ -d $$i ]; then \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 (cd $$i; ${MAKE} ${MFLAGS} clean) \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 fi \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 done |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 FRC: |