diff amrtest/Makefile @ 443:526a7f0e027d

amrtest: implement twamr-encode
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 May 2024 21:00:33 +0000
parents e80632ccb745
children fe4983b05230
line wrap: on
line diff
--- a/amrtest/Makefile	Thu May 09 07:19:42 2024 +0000
+++ b/amrtest/Makefile	Thu May 09 21:00:33 2024 +0000
@@ -1,11 +1,15 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	twamr-tseq-dec twamr-tseq-enc
+PROGS=	twamr-encode twamr-tseq-dec twamr-tseq-enc
 LIBAMR=	../libtwamr/libtwamr.a
+LIBTEST=../libtest/libtest.a
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
+twamr-encode:	encode.o mode_file.o mode_kw.o ${LIBAMR} ${LIBTEST}
+	${CC} ${CFLAGS} -o $@ $^
+
 twamr-tseq-dec:	tseq-dec.o ${LIBAMR}
 	${CC} ${CFLAGS} -o $@ $^