diff amrconv/Makefile @ 588:4d6ccca0c687

amrconv: new program amr-hexoa2ietf
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 06 Nov 2025 20:12:15 +0000
parents cb1d1ea7f2c5
children e414d138c607
line wrap: on
line diff
--- a/amrconv/Makefile	Wed Mar 12 20:38:23 2025 +0000
+++ b/amrconv/Makefile	Thu Nov 06 20:12:15 2025 +0000
@@ -1,5 +1,5 @@
-PROGS=	amr-cod-parse amr-cod2ietf amr-ietf-parse amr-ietf2cod gsm-amr2efr \
-	gsm-efr2amr
+PROGS=	amr-cod-parse amr-cod2ietf amr-hexoa2ietf amr-ietf-parse amr-ietf2cod \
+	gsm-amr2efr gsm-efr2amr
 LIBTEST=../libtest/libtest.a
 
 include ../config.defs
@@ -16,6 +16,8 @@
 IETF2COD_OBJS=	amr122bits.o amr_bits.o amr_common_tbl.o bitmanip.o ietf2cod.o \
 		ietf_common.o if1_unpack.o
 
+HEX2IETF_OBJS=	hex2ietf.o ietf_common.o
+
 all:	${PROGS}
 
 amr-cod-parse:	${COD_PARSE_OBJS}
@@ -24,6 +26,9 @@
 amr-cod2ietf:	${COD2IETF_OBJS}
 	${CC} ${CFLAGS} -o $@ ${COD2IETF_OBJS}
 
+amr-hexoa2ietf:	${HEX2IETF_OBJS} ${LIBTEST}
+	${CC} ${CFLAGS} -o $@ ${HEX2IETF_OBJS} ${LIBTEST}
+
 amr-ietf-parse:	${IETF_PARSE_OBJS}
 	${CC} ${CFLAGS} -o $@ ${IETF_PARSE_OBJS}