annotate dmw/Makefile @ 32:baf74dff5368

dhf: generate hex forms of EFR DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 May 2024 06:26:22 +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