FreeCalypso > hg > vband-misc
annotate ringing/Makefile @ 10:466a46387b6b
top Makefile: add ringing
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Apr 2024 19:09:58 +0000 |
parents | b875c8edd54f |
children | 1d22e3f81531 |
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 |
b875c8edd54f
ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
4 FILES= ringing.robe ringing.ul ringing.al |
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 |
e81a8c274fa6
dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
9
b875c8edd54f
ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
21 rm -f *.o ${PROG} *.robe *.ul *.al |