view ringing/Makefile @ 42:982169986a14

efr-sid: starting with dtx01-frame71.cod as good SID
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 05:28:22 +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