FreeCalypso > hg > gsm-codec-lib
annotate frtest/Makefile @ 285:cfa3006a66da
gsmfr-decode-r: convert to libgsmfr2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Apr 2024 06:04:32 +0000 |
parents | 8d3cfa65a6c2 |
children | 251aed72925e |
rev | line source |
---|---|
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
245
6de564ef70d3
frtest: new program gsmfr-cod2std
Mychaela Falconia <falcon@freecalypso.org>
parents:
167
diff
changeset
|
3 PROGS= gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx \ |
282
9ee8ad3d4d30
frtest: rm gsmfr-hand-test and gsmfr-max-out utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
245
diff
changeset
|
4 gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r gsmfr-preproc |
283
25649b3a83e9
gsmfr-cod2std: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
5 LIBFR2= ../libgsmfr2/libgsmfr2.a |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
6 LIBPP= ../libgsmfrp/libgsmfrp.a |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
7 LIBTEST=../libtest/libtest.a |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
8 LIBDEC= ${LIBTEST} ${LIBPP} |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
9 INSTBIN=/opt/freecalypso/bin |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
11 all: ${PROGS} |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
283
25649b3a83e9
gsmfr-cod2std: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
13 gsmfr-cod2std: cod2std.o ${LIBFR2} |
25649b3a83e9
gsmfr-cod2std: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ cod2std.o ${LIBFR2} |
245
6de564ef70d3
frtest: new program gsmfr-cod2std
Mychaela Falconia <falcon@freecalypso.org>
parents:
167
diff
changeset
|
15 |
284
8d3cfa65a6c2
gsmfr-decode: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
16 gsmfr-decode: decode.o ${LIBTEST} ${LIBFR2} |
8d3cfa65a6c2
gsmfr-decode: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBFR2} |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
18 |
285
cfa3006a66da
gsmfr-decode-r: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
284
diff
changeset
|
19 gsmfr-decode-r: decode-r.o ${LIBTEST} ${LIBFR2} |
cfa3006a66da
gsmfr-decode-r: convert to libgsmfr2
Mychaela Falconia <falcon@freecalypso.org>
parents:
284
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ decode-r.o ${LIBTEST} ${LIBFR2} |
153
14b627682458
gsmfr-decode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
139
diff
changeset
|
21 |
165
ef3ea52a190f
rename gsmfr-cvt-dlcap to gsmfr-dlcap-gsmx
Mychaela Falconia <falcon@freecalypso.org>
parents:
155
diff
changeset
|
22 gsmfr-dlcap-gsmx: dlcap-gsmx.o tidsp.o ${LIBTEST} |
ef3ea52a190f
rename gsmfr-cvt-dlcap to gsmfr-dlcap-gsmx
Mychaela Falconia <falcon@freecalypso.org>
parents:
155
diff
changeset
|
23 ${CC} ${CFLAGS} -o $@ dlcap-gsmx.o tidsp.o ${LIBTEST} |
ef3ea52a190f
rename gsmfr-cvt-dlcap to gsmfr-dlcap-gsmx
Mychaela Falconia <falcon@freecalypso.org>
parents:
155
diff
changeset
|
24 |
167
80c93ef82a51
gsmfr-dlcap-parse utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
165
diff
changeset
|
25 gsmfr-dlcap-parse: dlcap-parse.o tidsp.o ${LIBDEC} |
80c93ef82a51
gsmfr-dlcap-parse utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
165
diff
changeset
|
26 ${CC} ${CFLAGS} -o $@ dlcap-parse.o tidsp.o ${LIBDEC} -lgsm |
80c93ef82a51
gsmfr-dlcap-parse utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
165
diff
changeset
|
27 |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
28 gsmfr-encode: encode.o ${LIBTEST} |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
29 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
155
9814041e8096
gsmfr-encode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
31 gsmfr-encode-r: encode-r.o ${LIBTEST} |
9814041e8096
gsmfr-encode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
32 ${CC} ${CFLAGS} -o $@ encode-r.o ${LIBTEST} -lgsm |
9814041e8096
gsmfr-encode-r utility put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
33 |
24
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
34 gsmfr-preproc: preproc.o ${LIBDEC} |
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
35 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC} |
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
36 |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
37 install: |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
38 mkdir -p ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
39 install -c ${PROGS} ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
40 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 clean: |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
42 rm -f *.o *.out ${PROGS} |