FreeCalypso > hg > vband-misc
annotate dmw/Makefile @ 41:4e031007e6dd
ae-dec-dhf: generate TCH UL input
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 08:26:00 +0000 |
parents | e81a8c274fa6 |
children |
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 |