view amrtest/Makefile @ 441:ebe499058c63

libtwamr: implement API functions for RFC 4867 I/O
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 May 2024 07:06:31 +0000
parents e80632ccb745
children 526a7f0e027d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	twamr-tseq-dec twamr-tseq-enc
LIBAMR=	../libtwamr/libtwamr.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

twamr-tseq-dec:	tseq-dec.o ${LIBAMR}
	${CC} ${CFLAGS} -o $@ $^

twamr-tseq-enc:	mode_file.o mode_kw.o tseq-enc.o ${LIBAMR}
	${CC} ${CFLAGS} -o $@ $^

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out ${PROGS}