diff amrefr/Makefile @ 438:1bf1bbcef763

amrefr: implement amrefr-encode-r utility
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 23:43:26 +0000
parents 3eadaef8b28f
children 65d20172e92a
line wrap: on
line diff
--- a/amrefr/Makefile	Wed May 08 23:03:28 2024 +0000
+++ b/amrefr/Makefile	Wed May 08 23:43:26 2024 +0000
@@ -1,13 +1,18 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	amrefr-tseq-dec amrefr-tseq-enc
+PROGS=	amrefr-encode-r amrefr-tseq-dec amrefr-tseq-enc
 LIBEFR=	../libgsmefr/libgsmefr.a
 LIBAMR=	../libtwamr/libtwamr.a
+LIBTEST=../libtest/libtest.a
 LIBS=	${LIBEFR} ${LIBAMR}
+LIBST=	${LIBEFR} ${LIBAMR} ${LIBTEST}
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
+amrefr-encode-r:	encode-r.o ${LIBST}
+	${CC} ${CFLAGS} -o $@ $^
+
 amrefr-tseq-dec:	tseq-dec.o tseq-bit-rd.o tseq-pcm-out.o ${LIBS}
 	${CC} ${CFLAGS} -o $@ $^