view amrefr/Makefile @ 434:ba5031723ab6

implement amrefr-tseq-enc test program
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 02:17:08 +0000
parents efrtest/Makefile@51678b070c7a
children e80632ccb745
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	amrefr-tseq-enc
LIBEFR=	../libgsmefr/libgsmefr.a
LIBAMR=	../libtwamr/libtwamr.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

amrefr-tseq-enc:	tseq-enc.o tseq-enc-common.o ${LIBEFR} ${LIBAMR}
	${CC} ${CFLAGS} -o $@ tseq-enc.o tseq-enc-common.o ${LIBEFR} ${LIBAMR}

tseq-enc-common.o:	../efrtest/etsi-enc-common.c
	${CC} ${CFLAGS} -c -o $@ $<

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

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