FreeCalypso > hg > freecalypso-tools
annotate Makefile @ 346:99471c57155a
fcup-rvtat program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 04 Feb 2018 16:45:05 +0000 |
parents | 940ab98efefd |
children | 8f3fe2d1fda5 |
rev | line source |
---|---|
340
88fb194b4b61
top Makefile: uptools subdirectory added
Mychaela Falconia <falcon@freecalypso.org>
parents:
284
diff
changeset
|
1 PROGDIR=ffstools loadtools miscutil ringtools rvinterf uptools |
284
556bb8c860fa
librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
249
diff
changeset
|
2 LIBDIR= librftab libserial |
249
d0a4c05d98dc
libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
219
diff
changeset
|
3 SUBDIR= ${PROGDIR} ${LIBDIR} |
0
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 all: ${SUBDIR} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
284
556bb8c860fa
librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
249
diff
changeset
|
7 ffstools: librftab |
249
d0a4c05d98dc
libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
219
diff
changeset
|
8 loadtools: libserial |
d0a4c05d98dc
libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
219
diff
changeset
|
9 miscutil: libserial |
284
556bb8c860fa
librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
249
diff
changeset
|
10 rvinterf: librftab libserial |
343
940ab98efefd
top Makefile: uptools need libserial for atinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
340
diff
changeset
|
11 uptools: libserial |
249
d0a4c05d98dc
libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
219
diff
changeset
|
12 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${SUBDIR}: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 cd $@; ${MAKE} ${MFLAGS} |
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 clean: FRC |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 rm -f a.out core errs |
284
556bb8c860fa
librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
249
diff
changeset
|
18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
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 install: FRC |
57
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
21 mkdir -p /opt/freecalypso |
249
d0a4c05d98dc
libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
219
diff
changeset
|
22 for i in ${PROGDIR}; 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
|
23 if [ -d target-bin ]; then \ |
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
24 mkdir -p /opt/freecalypso/target-bin; \ |
7cc2f2360922
top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
25 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
|
26 fi |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 FRC: |