view ringing/Makefile @ 57:a64e5ed217c0 default tip

top Makefile: add fr-sid
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Aug 2024 06:43:31 +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