comparison amrconv/Makefile @ 216:9d59df9b0e4e

amrconv: new program amr-ietf2cod
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 21 Apr 2023 21:28:02 +0000
parents 4c4649a5fec3
children 19f1aa01ea10
comparison
equal deleted inserted replaced
215:4c4649a5fec3 216:9d59df9b0e4e
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= amr-cod-parse amr-cod2ietf amr-ietf-parse gsm-amr2efr gsm-efr2amr 3 PROGS= amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \
4 gsm-efr2amr
4 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
5 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
6 7
7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o 8 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o
8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o 9 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o
11 IETF_PARSE_OBJS=amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o \ 12 IETF_PARSE_OBJS=amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o \
12 ietf-parse.o ietf_common.o if1_unpack.o param_asm.o param_dump.o 13 ietf-parse.o ietf_common.o if1_unpack.o param_asm.o param_dump.o
13 14
14 COD2IETF_OBJS= amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o cod-read.o \ 15 COD2IETF_OBJS= amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o cod-read.o \
15 cod2ietf.o ietf_common.o if1_pack.o 16 cod2ietf.o ietf_common.o if1_pack.o
17 IETF2COD_OBJS= amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o ietf2cod.o \
18 ietf_common.o if1_unpack.o
16 19
17 all: ${PROGS} 20 all: ${PROGS}
18 21
19 amr-cod-parse: ${COD_PARSE_OBJS} 22 amr-cod-parse: ${COD_PARSE_OBJS}
20 ${CC} ${CFLAGS} -o $@ ${COD_PARSE_OBJS} 23 ${CC} ${CFLAGS} -o $@ ${COD_PARSE_OBJS}
22 amr-cod2ietf: ${COD2IETF_OBJS} 25 amr-cod2ietf: ${COD2IETF_OBJS}
23 ${CC} ${CFLAGS} -o $@ ${COD2IETF_OBJS} 26 ${CC} ${CFLAGS} -o $@ ${COD2IETF_OBJS}
24 27
25 amr-ietf-parse: ${IETF_PARSE_OBJS} 28 amr-ietf-parse: ${IETF_PARSE_OBJS}
26 ${CC} ${CFLAGS} -o $@ ${IETF_PARSE_OBJS} 29 ${CC} ${CFLAGS} -o $@ ${IETF_PARSE_OBJS}
30
31 amr-ietf2cod: ${IETF2COD_OBJS}
32 ${CC} ${CFLAGS} -o $@ ${IETF2COD_OBJS}
27 33
28 gsm-amr2efr: ${AMR2EFR_OBJS} 34 gsm-amr2efr: ${AMR2EFR_OBJS}
29 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS} 35 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
30 36
31 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST} 37 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST}