comparison pcmu2efr/Makefile @ 20:f5f541bc9415

pcmu2efr: check all generated frames against DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2024 03:06:12 +0000
parents 2bdcd2ed9a1c
children 3eb407b08b4c
comparison
equal deleted inserted replaced
19:2bdcd2ed9a1c 20:f5f541bc9415
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= amrefr-out stdefr-diff stdefr-out 3 PROGS= amrefr-out dhf-check stdefr-diff stdefr-out
4 4
5 AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o 5 AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
6 DHF_CHECK_OBJS= dhf-check.o gen-amrefr.o gen-efr.o gen160.o seqsyncu.o \
7 ulaw-expand.o
6 STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o 8 STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
7 STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o 9 STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o
8 10
9 all: ${PROGS} 11 all: ${PROGS}
10 12
11 amrefr-out: ${AMREFR_OBJS} 13 amrefr-out: ${AMREFR_OBJS}
12 ${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr 14 ${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr
15
16 dhf-check: ${DHF_CHECK_OBJS}
17 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr
13 18
14 stdefr-diff: ${STDEFRD_OBJS} 19 stdefr-diff: ${STDEFRD_OBJS}
15 ${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr 20 ${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr
16 21
17 stdefr-out: ${STDEFR_OBJS} 22 stdefr-out: ${STDEFR_OBJS}