comparison ringing/Makefile @ 14:ec642bde2349

ringing: generate hex char arrays for FR&EFR ringing signals
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:44:50 +0000
parents db5772dac3c3
children
comparison
equal deleted inserted replaced
13:871e83f0cb76 14:ec642bde2349
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 ringing-fr.gsm ringing-efr.gsmx \ 4 FILES= ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx \
5 ringing-fr.wav ringing-efr.wav 5 ringing-fr.inc ringing-efr.inc ringing-fr.wav ringing-efr.wav
6 6
7 all: ${PROG} ${FILES} 7 all: ${PROG} ${FILES}
8 8
9 ${PROG}: ${PROG}.c 9 ${PROG}: ${PROG}.c
10 ${CC} ${CFLAGS} -o $@ $@.c -lm 10 ${CC} ${CFLAGS} -o $@ $@.c -lm
19 pcm16-to-alaw ringing.robe $@ 19 pcm16-to-alaw ringing.robe $@
20 20
21 ringing-fr.gsm: ringing.robe 21 ringing-fr.gsm: ringing.robe
22 gsmfr-encode-r ringing.robe $@ 22 gsmfr-encode-r ringing.robe $@
23 23
24 ringing-fr.inc: ringing-fr.gsm
25 ../utils/gen-hex-c ringing-fr.gsm $@
26
24 ringing-fr.wav: ringing-fr.gsm 27 ringing-fr.wav: ringing-fr.gsm
25 gsmfr-decode ringing-fr.gsm $@ 28 gsmfr-decode ringing-fr.gsm $@
26 29
27 ringing-efr.gsmx: ringing.robe 30 ringing-efr.gsmx: ringing.robe
28 gsmefr-encode-r ringing.robe $@ 31 gsmefr-encode-r ringing.robe $@
29 32
33 ringing-efr.inc: ringing-efr.gsmx
34 ../utils/gen-hex-c ringing-efr.gsmx $@
35
30 ringing-efr.wav: ringing-efr.gsmx 36 ringing-efr.wav: ringing-efr.gsmx
31 gsmefr-decode ringing-efr.gsmx $@ 37 gsmefr-decode ringing-efr.gsmx $@
32 38
33 clean: 39 clean:
34 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav 40 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav *.inc