view ringing/Makefile @ 9:b875c8edd54f

ringing: generate North American ringing signal
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:05:18 +0000
parents dmw/Makefile@e81a8c274fa6
children 1d22e3f81531
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	genring
FILES=	ringing.robe ringing.ul ringing.al

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 $@

clean:
	rm -f *.o ${PROG} *.robe *.ul *.al