diff amrtest/Makefile @ 444:fe4983b05230

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