FreeCalypso > hg > freecalypso-tools
annotate ffstools/caltools/Makefile @ 605:5b286f910148
CHANGES: scripts addition documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 10 Feb 2020 03:55:13 +0000 |
parents | 68c7e4edc4da |
children | e5ef798e2d35 |
rev | line source |
---|---|
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
484
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
3 PROGS= c1xx-calextr fc-bin2rftab fc-cal2bin fc-rftab2c |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
4 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
5 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
6 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
7 INSTBIN=${INSTALL_PREFIX}/bin |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${PROGS} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 LIBRFTAB= ../../librftab/librftab.a |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
484
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
13 BIN2RFTAB_OBJS= fc-bin2rftab.o ${LIBRFTAB} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
14 |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
15 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
16 |
295
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
17 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB} |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
18 |
439
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
19 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
20 |
484
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
21 fc-bin2rftab: ${BIN2RFTAB_OBJS} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ ${BIN2RFTAB_OBJS} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
23 |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
24 fc-cal2bin: ${CAL2BIN_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
25 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
26 |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
27 c1xx-calextr: ${CALEXTR_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
28 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS} |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
439
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
30 fc-rftab2c: ${RFTAB2C_OBJS} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
31 ${CC} ${CFLAGS} -o $@ ${RFTAB2C_OBJS} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
32 |
295
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
33 mkdir.o: ../cal2text/mkdir.c |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
34 ${CC} ${CFLAGS} -c -o $@ $< |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
35 |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 install: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 mkdir -p ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 install -c ${PROGS} ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 clean: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 rm -f ${PROGS} *.o *errs *.out |