annotate pcma2efr/Makefile @ 43:8bfc517fda3b

efr-sid: hack created
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 05:57:48 +0000
parents dd9a9368009e
children
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
31
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
3 PROGS= comb-diff comb-out dhf-check pcma-input
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
4 FILES= all-outputs.gsmx all-outputs.inc pcma-input.bin
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
31
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
12 PCMA_IN_OBJS= pcma-input.o seqsynca.o
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
14 all: ${PROGS} ${FILES}
24
c52fb8080faf pcmu2efr: emit all 320 computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 23
diff changeset
15
29
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
16 comb-diff: ${COMB_DIFF_OBJS}
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
17 ${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr
fc4544e3687b pcma2efr: comb-diff check passes
Mychaela Falconia <falcon@freecalypso.org>
parents: 28
diff changeset
18
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
19 comb-out: ${COMB_OUT_OBJS}
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
20 ${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
21
20
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
22 dhf-check: ${DHF_CHECK_OBJS}
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
23 ${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
24
31
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
25 pcma-input: ${PCMA_IN_OBJS}
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
26 ${CC} ${CFLAGS} -o $@ ${PCMA_IN_OBJS}
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
27
30
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
28 # data outputs
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
29
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
30 all-outputs.gsmx: comb-out
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
31 ./comb-out $@
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
32
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
33 all-outputs.inc: all-outputs.gsmx
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
34 ../utils/gen-hex-c all-outputs.gsmx $@
760bbae44c1f pcma2efr: emit the set of computed frames
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
35
31
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
36 pcma-input.bin: pcma-input
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
37 ./pcma-input $@
dd9a9368009e pcma2efr: emit full input sequence
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
38
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 clean:
27
2095f3c23dad pcmu2efr: generate the data files here too
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
40 rm -f *.o ${PROGS} *.bin *.gsmx *.inc