comparison amrconv/Makefile @ 214:934cf92a1c45

amrconv: new program amr-ietf-parse
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 20 Apr 2023 22:48:22 +0000
parents 78d1a6513393
children 4c4649a5fec3
comparison
equal deleted inserted replaced
213:46a6e6b6841a 214:934cf92a1c45
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= amr-cod-parse gsm-amr2efr gsm-efr2amr 3 PROGS= amr-cod-parse amr-ietf-parse gsm-amr2efr gsm-efr2amr
4 LIBTEST=../libtest/libtest.a 4 LIBTEST=../libtest/libtest.a
5 INSTBIN=/opt/freecalypso/bin 5 INSTBIN=/opt/freecalypso/bin
6 6
7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o 7 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o
8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o 8 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o
9 9
10 COD_PARSE_OBJS= amr_common_tbl.o cod-parse.o cod-read.o param_asm.o param_dump.o 10 COD_PARSE_OBJS= amr_common_tbl.o cod-parse.o cod-read.o param_asm.o param_dump.o
11 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
11 13
12 all: ${PROGS} 14 all: ${PROGS}
13 15
14 amr-cod-parse: ${COD_PARSE_OBJS} 16 amr-cod-parse: ${COD_PARSE_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${COD_PARSE_OBJS} 17 ${CC} ${CFLAGS} -o $@ ${COD_PARSE_OBJS}
18
19 amr-ietf-parse: ${IETF_PARSE_OBJS}
20 ${CC} ${CFLAGS} -o $@ ${IETF_PARSE_OBJS}
16 21
17 gsm-amr2efr: ${AMR2EFR_OBJS} 22 gsm-amr2efr: ${AMR2EFR_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS} 23 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
19 24
20 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST} 25 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST}