annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
3 PROGS= comb-diff comb-out dhf-check
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
4 FILES= all-outputs.gsmx all-outputs.inc
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
29
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
6 COMB_DIFF_OBJS= alaw-expand.o comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o \
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
7 seqsynca.o
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
8 COMB_OUT_OBJS= alaw-expand.o comb-out.o gen-amr-2fr.o gen-efr.o gen160.o \
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
9 seqsynca.o
28
4f47447fd17f pcma2efr: starting with DHF check
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
10 DHF_CHECK_OBJS= alaw-expand.o dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o \
4f47447fd17f pcma2efr: starting with DHF check
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
11 seqsynca.o
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
13 all: ${PROGS} ${FILES}
24
c52fb8080faf pcmu2efr: emit all 320 computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 23
diff changeset
14
29
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
15 comb-diff: ${COMB_DIFF_OBJS}
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
16 ${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
17
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
18 comb-out: ${COMB_OUT_OBJS}
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
19 ${CC} ${CFLAGS} -o $@ ${COMB_OUT_OBJS} -lgsmefr -ltwamr
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
20
20
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
21 dhf-check: ${DHF_CHECK_OBJS}
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
22 ${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
23
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
24 # data outputs
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
25
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
26 all-outputs.gsmx: comb-out
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
27 ./comb-out $@
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
28
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
29 all-outputs.inc: all-outputs.gsmx
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
30 ../utils/gen-hex-c all-outputs.gsmx $@
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
31
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 clean:
27
2095f3c23dad pcmu2efr: generate the data files here too
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
33 rm -f *.o ${PROGS} *.bin *.gsmx *.inc