diff 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
line wrap: on
line diff
--- a/amrconv/Makefile	Fri Apr 21 06:30:29 2023 +0000
+++ b/amrconv/Makefile	Fri Apr 21 21:28:02 2023 +0000
@@ -1,6 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	amr-cod-parse amr-cod2ietf amr-ietf-parse gsm-amr2efr gsm-efr2amr
+PROGS=	amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \
+	gsm-efr2amr
 LIBTEST=../libtest/libtest.a
 INSTBIN=/opt/freecalypso/bin
 
@@ -13,6 +14,8 @@
 
 COD2IETF_OBJS=	amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o cod-read.o \
 		cod2ietf.o ietf_common.o if1_pack.o
+IETF2COD_OBJS=	amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o ietf2cod.o \
+		ietf_common.o if1_unpack.o
 
 all:	${PROGS}
 
@@ -25,6 +28,9 @@
 amr-ietf-parse:	${IETF_PARSE_OBJS}
 	${CC} ${CFLAGS} -o $@ ${IETF_PARSE_OBJS}
 
+amr-ietf2cod:	${IETF2COD_OBJS}
+	${CC} ${CFLAGS} -o $@ ${IETF2COD_OBJS}
+
 gsm-amr2efr:	${AMR2EFR_OBJS}
 	${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}