FreeCalypso > hg > freecalypso-tools
annotate Makefile @ 116:3eb75280b38b
rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 Feb 2017 06:54:06 +0000 |
parents | 7cc2f2360922 |
children | da02ce0ac815 |
rev | line source |
---|---|
20
5534402344dc
top Makefile: lcdemu hack dropped
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
1 SUBDIR= ffstools loadtools miscutil rvinterf |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 all: ${SUBDIR} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 ${SUBDIR}: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 cd $@; ${MAKE} ${MFLAGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 clean: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 rm -f a.out core errs |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 install: FRC |
57
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
13 mkdir -p /opt/freecalypso |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
57
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
15 if [ -d target-bin ]; then \ |
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
16 mkdir -p /opt/freecalypso/target-bin; \ |
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
17 install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \ |
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
18 fi |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 FRC: |