comparison ringing/Makefile @ 12:db5772dac3c3

ringing: generate WAV decodings of FR&EFR ringing signals for playback testing and subjective quality evaluation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:28:20 +0000
parents 1d22e3f81531
children ec642bde2349
comparison
equal deleted inserted replaced
11:1d22e3f81531 12:db5772dac3c3
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 6
6 all: ${PROG} ${FILES} 7 all: ${PROG} ${FILES}
7 8
8 ${PROG}: ${PROG}.c 9 ${PROG}: ${PROG}.c
9 ${CC} ${CFLAGS} -o $@ $@.c -lm 10 ${CC} ${CFLAGS} -o $@ $@.c -lm
18 pcm16-to-alaw ringing.robe $@ 19 pcm16-to-alaw ringing.robe $@
19 20
20 ringing-fr.gsm: ringing.robe 21 ringing-fr.gsm: ringing.robe
21 gsmfr-encode-r ringing.robe $@ 22 gsmfr-encode-r ringing.robe $@
22 23
24 ringing-fr.wav: ringing-fr.gsm
25 gsmfr-decode ringing-fr.gsm $@
26
23 ringing-efr.gsmx: ringing.robe 27 ringing-efr.gsmx: ringing.robe
24 gsmefr-encode-r ringing.robe $@ 28 gsmefr-encode-r ringing.robe $@
25 29
30 ringing-efr.wav: ringing-efr.gsmx
31 gsmefr-decode ringing-efr.gsmx $@
32
26 clean: 33 clean:
27 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx 34 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav