diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ringing/Makefile	Sun Apr 07 19:05:18 2024 +0000
@@ -0,0 +1,21 @@
+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