annotate Makefile @ 68:585f63e5bca6

fc-tmsh: etmpkt command renamed to tmpkt, etmpkt retained as alias
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 22:56:29 +0000
parents 7cc2f2360922
children da02ce0ac815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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: