diff miscutil/Makefile @ 219:dc52c3857bf7

miscutil: new program pcm16-to-alaw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Apr 2023 20:34:49 +0000
parents b092a510141e
children c4c45148cde1
line wrap: on
line diff
--- a/miscutil/Makefile	Fri Apr 21 23:41:56 2023 +0000
+++ b/miscutil/Makefile	Sat Apr 22 20:34:49 2023 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	gsmrec-dump pcm16-raw2wav pcm16-wav2raw
+PROGS=	gsmrec-dump pcm16-raw2wav pcm16-to-alaw pcm16-wav2raw
 LIBEFR=	../libgsmefr/libgsmefr.a
 LIBTEST=../libtest/libtest.a
 INSTBIN=/opt/freecalypso/bin
@@ -13,6 +13,9 @@
 pcm16-raw2wav:	raw2wav.o ${LIBTEST}
 	${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST}
 
+pcm16-to-alaw:	pcm16-to-alaw.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 pcm16-wav2raw:	wav2raw.o ${LIBTEST}
 	${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST}