view amrtest/Makefile @ 435:9f354d2aea13

efrtest: split etsi-dec.c for code reuse
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 05:25:47 +0000
parents edbbbf1c4ab1
children e80632ccb745
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 $@ tseq-dec.o ${LIBAMR}

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

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

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