FreeCalypso > hg > freecalypso-tools
annotate ffstools/caltools/Makefile @ 933:bd6dd6120180
rvinterf: -v enables TM hex dump, -vv enables TCH hex dump
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 May 2023 06:24:37 +0000 |
parents | e5ef798e2d35 |
children |
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 |
859
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
3 PROGS= c1xx-calextr fc-add-ramps 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 |
859
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
13 ADDRAMPS_OBJS= fc-add-ramps.o ${LIBRFTAB} |
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
14 |
484
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
15 BIN2RFTAB_OBJS= fc-bin2rftab.o ${LIBRFTAB} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
16 |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
17 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
18 |
295
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
19 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB} |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
20 |
439
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
21 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
22 |
859
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
23 fc-add-ramps: ${ADDRAMPS_OBJS} |
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
24 ${CC} ${CFLAGS} -o $@ ${ADDRAMPS_OBJS} |
e5ef798e2d35
fc-add-ramps new program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
484
diff
changeset
|
25 |
484
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
26 fc-bin2rftab: ${BIN2RFTAB_OBJS} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
27 ${CC} ${CFLAGS} -o $@ ${BIN2RFTAB_OBJS} |
68c7e4edc4da
fc-bin2rftab utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
28 |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
29 fc-cal2bin: ${CAL2BIN_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
30 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
31 |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
32 c1xx-calextr: ${CALEXTR_OBJS} |
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
33 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS} |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
439
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
35 fc-rftab2c: ${RFTAB2C_OBJS} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
36 ${CC} ${CFLAGS} -o $@ ${RFTAB2C_OBJS} |
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
295
diff
changeset
|
37 |
295
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
38 mkdir.o: ../cal2text/mkdir.c |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
39 ${CC} ${CFLAGS} -c -o $@ $< |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
40 |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 install: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 mkdir -p ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 install -c ${PROGS} ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 clean: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 rm -f ${PROGS} *.o *errs *.out |