FreeCalypso > hg > gsm-codec-lib
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amrefr/Makefile Wed May 08 02:17:08 2024 +0000 @@ -0,0 +1,21 @@ +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}