annotate ringing/Makefile @ 11:1d22e3f81531

ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:21:23 +0000
parents b875c8edd54f
children db5772dac3c3
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
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
3 PROG= genring
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
4 FILES= ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx
7
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
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
9 ${CC} ${CFLAGS} -o $@ $@.c -lm
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
11 ringing.robe: ${PROG}
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
12 ./${PROG} $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
14 ringing.ul: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
15 pcm16-to-ulaw ringing.robe $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
17 ringing.al: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
18 pcm16-to-alaw ringing.robe $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
20 ringing-fr.gsm: ringing.robe
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
21 gsmfr-encode-r ringing.robe $@
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
22
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
23 ringing-efr.gsmx: ringing.robe
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
24 gsmefr-encode-r ringing.robe $@
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
25
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 clean:
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
27 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx