FreeCalypso > hg > gsm-codec-lib
annotate amrconv/Makefile @ 211:78d1a6513393
amrconv: new program amr-cod-parse
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 20 Apr 2023 01:30:46 +0000 |
parents | b092a510141e |
children | 934cf92a1c45 |
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 |
211
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
3 PROGS= amr-cod-parse gsm-amr2efr gsm-efr2amr |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
4 LIBTEST=../libtest/libtest.a |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
5 INSTBIN=/opt/freecalypso/bin |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
101
d86f866489e9
gsm-amr2efr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o |
103
0123ca1f1402
gsm-efr2amr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
101
diff
changeset
|
8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o |
101
d86f866489e9
gsm-amr2efr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
9 |
211
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
10 COD_PARSE_OBJS= amr_common_tbl.o cod-parse.o cod-read.o param_asm.o param_dump.o |
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
11 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 all: ${PROGS} |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
211
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
14 amr-cod-parse: ${COD_PARSE_OBJS} |
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ ${COD_PARSE_OBJS} |
78d1a6513393
amrconv: new program amr-cod-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
184
diff
changeset
|
16 |
101
d86f866489e9
gsm-amr2efr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
17 gsm-amr2efr: ${AMR2EFR_OBJS} |
d86f866489e9
gsm-amr2efr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS} |
d86f866489e9
gsm-amr2efr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
19 |
103
0123ca1f1402
gsm-efr2amr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
101
diff
changeset
|
20 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST} |
0123ca1f1402
gsm-efr2amr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
101
diff
changeset
|
21 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST} |
0123ca1f1402
gsm-efr2amr utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
101
diff
changeset
|
22 |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
23 install: |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
24 mkdir -p ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
25 install -c ${PROGS} ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
26 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 clean: |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 rm -f *.o *.out ${PROGS} |