FreeCalypso > hg > gsm-codec-lib
annotate amrtest/Makefile @ 449:2af2b5c12268
Library-versions: libtwamr is officially version 1.0.0
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 May 2024 01:43:05 +0000 |
parents | e2f824ffd08a |
children | 19f1aa01ea10 |
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 |
446
e2f824ffd08a
amrtest: implement twamr-decode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
445
diff
changeset
|
3 PROGS= twamr-decode twamr-decode-r twamr-encode twamr-encode-r twamr-tseq-dec \ |
e2f824ffd08a
amrtest: implement twamr-decode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
445
diff
changeset
|
4 twamr-tseq-enc |
422
1ceda5586d01
implement twamr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
5 LIBAMR= ../libtwamr/libtwamr.a |
443
526a7f0e027d
amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
6 LIBTEST=../libtest/libtest.a |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
7 INSTBIN=/opt/freecalypso/bin |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
9 all: ${PROGS} |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
444
fe4983b05230
amrtest: implement twamr-decode
Mychaela Falconia <falcon@freecalypso.org>
parents:
443
diff
changeset
|
11 twamr-decode: decode.o ${LIBAMR} ${LIBTEST} |
fe4983b05230
amrtest: implement twamr-decode
Mychaela Falconia <falcon@freecalypso.org>
parents:
443
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $^ |
fe4983b05230
amrtest: implement twamr-decode
Mychaela Falconia <falcon@freecalypso.org>
parents:
443
diff
changeset
|
13 |
446
e2f824ffd08a
amrtest: implement twamr-decode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
445
diff
changeset
|
14 twamr-decode-r: decode-r.o ${LIBAMR} ${LIBTEST} |
e2f824ffd08a
amrtest: implement twamr-decode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
445
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $^ |
e2f824ffd08a
amrtest: implement twamr-decode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
445
diff
changeset
|
16 |
443
526a7f0e027d
amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
17 twamr-encode: encode.o mode_file.o mode_kw.o ${LIBAMR} ${LIBTEST} |
526a7f0e027d
amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ $^ |
526a7f0e027d
amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
19 |
445
30cff6b60890
amrtest: implement twamr-encode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
444
diff
changeset
|
20 twamr-encode-r: encode-r.o mode_file.o mode_kw.o ${LIBAMR} ${LIBTEST} |
30cff6b60890
amrtest: implement twamr-encode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
444
diff
changeset
|
21 ${CC} ${CFLAGS} -o $@ $^ |
30cff6b60890
amrtest: implement twamr-encode-r
Mychaela Falconia <falcon@freecalypso.org>
parents:
444
diff
changeset
|
22 |
430
edbbbf1c4ab1
implement twamr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
23 twamr-tseq-dec: tseq-dec.o ${LIBAMR} |
436
e80632ccb745
simplify test program Makefiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
430
diff
changeset
|
24 ${CC} ${CFLAGS} -o $@ $^ |
430
edbbbf1c4ab1
implement twamr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
25 |
422
1ceda5586d01
implement twamr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
26 twamr-tseq-enc: mode_file.o mode_kw.o tseq-enc.o ${LIBAMR} |
436
e80632ccb745
simplify test program Makefiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
430
diff
changeset
|
27 ${CC} ${CFLAGS} -o $@ $^ |
24
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
28 |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
29 install: |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
30 mkdir -p ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
31 install -c ${PROGS} ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
32 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 clean: |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
34 rm -f *.o *.out ${PROGS} |