view ringing/Makefile @ 53:637ee027999b

efr-sid/Unit-test-desc: blurb written
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 03:39:42 +0000
parents ec642bde2349
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	genring
FILES=	ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx \
	ringing-fr.inc ringing-efr.inc ringing-fr.wav ringing-efr.wav

all:	${PROG} ${FILES}

${PROG}:	${PROG}.c
	${CC} ${CFLAGS} -o $@ $@.c -lm

ringing.robe:	${PROG}
	./${PROG} $@

ringing.ul:	ringing.robe
	pcm16-to-ulaw ringing.robe $@

ringing.al:	ringing.robe
	pcm16-to-alaw ringing.robe $@

ringing-fr.gsm:	ringing.robe
	gsmfr-encode-r ringing.robe $@

ringing-fr.inc:	ringing-fr.gsm
	../utils/gen-hex-c ringing-fr.gsm $@

ringing-fr.wav:	ringing-fr.gsm
	gsmfr-decode ringing-fr.gsm $@

ringing-efr.gsmx:	ringing.robe
	gsmefr-encode-r ringing.robe $@

ringing-efr.inc:	ringing-efr.gsmx
	../utils/gen-hex-c ringing-efr.gsmx $@

ringing-efr.wav:	ringing-efr.gsmx
	gsmefr-decode ringing-efr.gsmx $@

clean:
	rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav *.inc