comparison pcma2efr/Makefile @ 30:760bbae44c1f

pcma2efr: emit the set of computed frames
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 May 2024 05:40:56 +0000
parents fc4544e3687b
children dd9a9368009e
comparison
equal deleted inserted replaced
29:fc4544e3687b 30:760bbae44c1f
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= comb-diff dhf-check 3 PROGS= comb-diff comb-out dhf-check
4 FILES= all-outputs.gsmx all-outputs.inc
4 5
5 COMB_DIFF_OBJS= alaw-expand.o comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o \ 6 COMB_DIFF_OBJS= alaw-expand.o comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o \
7 seqsynca.o
8 COMB_OUT_OBJS= alaw-expand.o comb-out.o gen-amr-2fr.o gen-efr.o gen160.o \
6 seqsynca.o 9 seqsynca.o
7 DHF_CHECK_OBJS= alaw-expand.o dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o \ 10 DHF_CHECK_OBJS= alaw-expand.o dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o \
8 seqsynca.o 11 seqsynca.o
9 12
10 all: ${PROGS} 13 all: ${PROGS} ${FILES}
11 14
12 comb-diff: ${COMB_DIFF_OBJS} 15 comb-diff: ${COMB_DIFF_OBJS}
13 ${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr 16 ${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr
14 17
18 comb-out: ${COMB_OUT_OBJS}
19 ${CC} ${CFLAGS} -o $@ ${COMB_OUT_OBJS} -lgsmefr -ltwamr
20
15 dhf-check: ${DHF_CHECK_OBJS} 21 dhf-check: ${DHF_CHECK_OBJS}
16 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr 22 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr
17 23
24 # data outputs
25
26 all-outputs.gsmx: comb-out
27 ./comb-out $@
28
29 all-outputs.inc: all-outputs.gsmx
30 ../utils/gen-hex-c all-outputs.gsmx $@
31
18 clean: 32 clean:
19 rm -f *.o ${PROGS} *.bin *.gsmx *.inc 33 rm -f *.o ${PROGS} *.bin *.gsmx *.inc