annotate ringing/Makefile @ 57:a64e5ed217c0 default tip

top Makefile: add fr-sid
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Aug 2024 06:43:31 +0000
parents ec642bde2349
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
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
3 PROG= genring
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
4 FILES= ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx \
14
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
5 ringing-fr.inc ringing-efr.inc ringing-fr.wav ringing-efr.wav
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG} ${FILES}
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${PROG}.c
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
10 ${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
11
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
12 ringing.robe: ${PROG}
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
13 ./${PROG} $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
15 ringing.ul: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
16 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
17
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
18 ringing.al: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
19 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
20
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
21 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
22 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
23
14
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
24 ringing-fr.inc: ringing-fr.gsm
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
25 ../utils/gen-hex-c ringing-fr.gsm $@
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
26
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
27 ringing-fr.wav: ringing-fr.gsm
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
28 gsmfr-decode ringing-fr.gsm $@
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
29
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
30 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
31 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
32
14
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
33 ringing-efr.inc: ringing-efr.gsmx
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
34 ../utils/gen-hex-c ringing-efr.gsmx $@
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
35
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
36 ringing-efr.wav: ringing-efr.gsmx
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
37 gsmefr-decode ringing-efr.gsmx $@
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
38
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 clean:
14
ec642bde2349 ringing: generate hex char arrays for FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
40 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav *.inc