FreeCalypso > hg > gsm-codec-lib
comparison amrefr/Makefile @ 437:3eadaef8b28f
implement amrefr-tseq-dec test program
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 08 May 2024 23:03:28 +0000 |
| parents | e80632ccb745 |
| children | 1bf1bbcef763 |
comparison
equal
deleted
inserted
replaced
| 436:e80632ccb745 | 437:3eadaef8b28f |
|---|---|
| 1 CC= gcc | 1 CC= gcc |
| 2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
| 3 PROGS= amrefr-tseq-enc | 3 PROGS= amrefr-tseq-dec amrefr-tseq-enc |
| 4 LIBEFR= ../libgsmefr/libgsmefr.a | 4 LIBEFR= ../libgsmefr/libgsmefr.a |
| 5 LIBAMR= ../libtwamr/libtwamr.a | 5 LIBAMR= ../libtwamr/libtwamr.a |
| 6 LIBS= ${LIBEFR} ${LIBAMR} | |
| 6 INSTBIN=/opt/freecalypso/bin | 7 INSTBIN=/opt/freecalypso/bin |
| 7 | 8 |
| 8 all: ${PROGS} | 9 all: ${PROGS} |
| 9 | 10 |
| 10 amrefr-tseq-enc: tseq-enc.o tseq-enc-common.o ${LIBEFR} ${LIBAMR} | 11 amrefr-tseq-dec: tseq-dec.o tseq-bit-rd.o tseq-pcm-out.o ${LIBS} |
| 11 ${CC} ${CFLAGS} -o $@ $^ | 12 ${CC} ${CFLAGS} -o $@ $^ |
| 12 | 13 |
| 14 amrefr-tseq-enc: tseq-enc.o tseq-enc-common.o ${LIBS} | |
| 15 ${CC} ${CFLAGS} -o $@ $^ | |
| 16 | |
| 17 tseq-bit-rd.o: ../efrtest/etsi-bit-rd.c | |
| 18 ${CC} ${CFLAGS} -c -o $@ $< | |
| 19 | |
| 13 tseq-enc-common.o: ../efrtest/etsi-enc-common.c | 20 tseq-enc-common.o: ../efrtest/etsi-enc-common.c |
| 21 ${CC} ${CFLAGS} -c -o $@ $< | |
| 22 | |
| 23 tseq-pcm-out.o: ../efrtest/etsi-pcm-out.c | |
| 14 ${CC} ${CFLAGS} -c -o $@ $< | 24 ${CC} ${CFLAGS} -c -o $@ $< |
| 15 | 25 |
| 16 install: | 26 install: |
| 17 mkdir -p ${INSTBIN} | 27 mkdir -p ${INSTBIN} |
| 18 install -c ${PROGS} ${INSTBIN} | 28 install -c ${PROGS} ${INSTBIN} |
