diff pcmu2efr/Makefile @ 19:2bdcd2ed9a1c

pcmu2efr: generate AMR-EFR version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2024 00:56:42 +0000
parents 39b3c24256ae
children f5f541bc9415
line wrap: on
line diff
--- a/pcmu2efr/Makefile	Wed Apr 17 00:03:31 2024 +0000
+++ b/pcmu2efr/Makefile	Sun May 12 00:56:42 2024 +0000
@@ -1,12 +1,16 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	stdefr-diff stdefr-out
+PROGS=	amrefr-out stdefr-diff stdefr-out
 
+AMREFR_OBJS=	amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
 STDEFR_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
 STDEFRD_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o
 
 all:	${PROGS}
 
+amrefr-out:	${AMREFR_OBJS}
+	${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr
+
 stdefr-diff:	${STDEFRD_OBJS}
 	${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr