view ringing/Makefile @ 10:466a46387b6b

top Makefile: add ringing
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:09:58 +0000
parents b875c8edd54f
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