annotate 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
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
20
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
3 PROGS= amrefr-out dhf-check stdefr-diff stdefr-out
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
19
2bdcd2ed9a1c pcmu2efr: generate AMR-EFR version
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
5 AMREFR_OBJS= amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
20
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
6 DHF_CHECK_OBJS= dhf-check.o gen-amrefr.o gen-efr.o gen160.o seqsyncu.o \
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
7 ulaw-expand.o
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 STDEFR_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
17
39b3c24256ae pcmu2efr: add stdefr-diff sanity check
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
9 STDEFRD_OBJS= gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROGS}
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
19
2bdcd2ed9a1c pcmu2efr: generate AMR-EFR version
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
13 amrefr-out: ${AMREFR_OBJS}
2bdcd2ed9a1c pcmu2efr: generate AMR-EFR version
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
14 ${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr
2bdcd2ed9a1c pcmu2efr: generate AMR-EFR version
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
15
20
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
16 dhf-check: ${DHF_CHECK_OBJS}
f5f541bc9415 pcmu2efr: check all generated frames against DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
17 ${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
18
17
39b3c24256ae pcmu2efr: add stdefr-diff sanity check
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
19 stdefr-diff: ${STDEFRD_OBJS}
39b3c24256ae pcmu2efr: add stdefr-diff sanity check
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
20 ${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr
39b3c24256ae pcmu2efr: add stdefr-diff sanity check
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
21
15
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 stdefr-out: ${STDEFR_OBJS}
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 ${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 clean:
528eef871e23 pcmu2efr project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 rm -f *.o ${PROGS}