annotate dmw/Makefile @ 48:3e632126e099

efr-sid: generate efr-sid-test2.gsmx for OS#6538
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Aug 2024 22:17:37 +0000
parents e81a8c274fa6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= gen-dmw-bin
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 FILES= dmw-alaw.bin dmw-alaw.robe dmw-ulaw.bin dmw-ulaw.robe
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${PROG} ${FILES}
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ${PROG}: ${PROG}.c
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${CC} ${CFLAGS} -o $@ $@.c
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 dmw-alaw.bin: ${PROG}
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ./${PROG} $@ alaw 20
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 dmw-alaw.robe: dmw-alaw.bin
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 pcm8-to-pcm16 alaw dmw-alaw.bin $@
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 dmw-ulaw.bin: ${PROG}
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 ./${PROG} $@ ulaw 20
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 dmw-ulaw.robe: dmw-ulaw.bin
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 pcm8-to-pcm16 ulaw dmw-ulaw.bin $@
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f *.o ${PROG} *.bin *.robe