FreeCalypso > hg > vband-misc
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:466a46387b6b | 11:1d22e3f81531 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROG= genring | 3 PROG= genring |
4 FILES= ringing.robe ringing.ul ringing.al | 4 FILES= ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx |
5 | 5 |
6 all: ${PROG} ${FILES} | 6 all: ${PROG} ${FILES} |
7 | 7 |
8 ${PROG}: ${PROG}.c | 8 ${PROG}: ${PROG}.c |
9 ${CC} ${CFLAGS} -o $@ $@.c -lm | 9 ${CC} ${CFLAGS} -o $@ $@.c -lm |
15 pcm16-to-ulaw ringing.robe $@ | 15 pcm16-to-ulaw ringing.robe $@ |
16 | 16 |
17 ringing.al: ringing.robe | 17 ringing.al: ringing.robe |
18 pcm16-to-alaw ringing.robe $@ | 18 pcm16-to-alaw ringing.robe $@ |
19 | 19 |
20 ringing-fr.gsm: ringing.robe | |
21 gsmfr-encode-r ringing.robe $@ | |
22 | |
23 ringing-efr.gsmx: ringing.robe | |
24 gsmefr-encode-r ringing.robe $@ | |
25 | |
20 clean: | 26 clean: |
21 rm -f *.o ${PROG} *.robe *.ul *.al | 27 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx |