diff amrefr/Makefile @ 437:3eadaef8b28f

implement amrefr-tseq-dec test program
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 23:03:28 +0000
parents e80632ccb745
children 1bf1bbcef763
line wrap: on
line diff
--- a/amrefr/Makefile	Wed May 08 05:32:27 2024 +0000
+++ b/amrefr/Makefile	Wed May 08 23:03:28 2024 +0000
@@ -1,18 +1,28 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	amrefr-tseq-enc
+PROGS=	amrefr-tseq-dec amrefr-tseq-enc
 LIBEFR=	../libgsmefr/libgsmefr.a
 LIBAMR=	../libtwamr/libtwamr.a
+LIBS=	${LIBEFR} ${LIBAMR}
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
-amrefr-tseq-enc:	tseq-enc.o tseq-enc-common.o ${LIBEFR} ${LIBAMR}
+amrefr-tseq-dec:	tseq-dec.o tseq-bit-rd.o tseq-pcm-out.o ${LIBS}
+	${CC} ${CFLAGS} -o $@ $^
+
+amrefr-tseq-enc:	tseq-enc.o tseq-enc-common.o ${LIBS}
 	${CC} ${CFLAGS} -o $@ $^
 
+tseq-bit-rd.o:	../efrtest/etsi-bit-rd.c
+	${CC} ${CFLAGS} -c -o $@ $<
+
 tseq-enc-common.o:	../efrtest/etsi-enc-common.c
 	${CC} ${CFLAGS} -c -o $@ $<
 
+tseq-pcm-out.o:	../efrtest/etsi-pcm-out.c
+	${CC} ${CFLAGS} -c -o $@ $<
+
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}