comparison pcmu2efr/Makefile @ 26:1794bf0fbcf7

pcmu2efr: emit full PCMU input
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2024 04:48:36 +0000
parents c52fb8080faf
children 2095f3c23dad
comparison
equal deleted inserted replaced
25:1f58ba0d79a4 26:1794bf0fbcf7
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= amrefr-out comb-diff comb-out dhf-check stdefr-diff stdefr-out 3 PROGS= amrefr-out comb-diff comb-out dhf-check pcmu-input stdefr-diff \
4 stdefr-out
4 5
5 AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o 6 AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
6 COMB_DIFF_OBJS= comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \ 7 COMB_DIFF_OBJS= comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \
7 ulaw-expand.o 8 ulaw-expand.o
8 COMB_OUT_OBJS= comb-out.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \ 9 COMB_OUT_OBJS= comb-out.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \
9 ulaw-expand.o 10 ulaw-expand.o
10 DHF_CHECK_OBJS= dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \ 11 DHF_CHECK_OBJS= dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \
11 ulaw-expand.o 12 ulaw-expand.o
13 PCMU_IN_OBJS= pcmu-input.o seqsyncu.o
12 STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o 14 STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
13 STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o 15 STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o
14 16
15 all: ${PROGS} 17 all: ${PROGS}
16 18
24 ${CC} ${CFLAGS} -o $@ ${COMB_OUT_OBJS} -lgsmefr -ltwamr 26 ${CC} ${CFLAGS} -o $@ ${COMB_OUT_OBJS} -lgsmefr -ltwamr
25 27
26 dhf-check: ${DHF_CHECK_OBJS} 28 dhf-check: ${DHF_CHECK_OBJS}
27 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr 29 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr
28 30
31 pcmu-input: ${PCMU_IN_OBJS}
32 ${CC} ${CFLAGS} -o $@ ${PCMU_IN_OBJS}
33
29 stdefr-diff: ${STDEFRD_OBJS} 34 stdefr-diff: ${STDEFRD_OBJS}
30 ${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr 35 ${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr
31 36
32 stdefr-out: ${STDEFR_OBJS} 37 stdefr-out: ${STDEFR_OBJS}
33 ${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr 38 ${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr