diff miscutil/Makefile @ 101:d86f866489e9

gsm-amr2efr utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Nov 2022 05:15:39 +0000
parents edd2e20e7090
children 0123ca1f1402
line wrap: on
line diff
--- a/miscutil/Makefile	Sat Nov 26 22:07:55 2022 +0000
+++ b/miscutil/Makefile	Sun Nov 27 05:15:39 2022 +0000
@@ -1,12 +1,17 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	gsmrec-dump
+PROGS=	gsm-amr2efr gsmrec-dump
 LIBEFR=	../libgsmefr/libgsmefr.a
 LIBTEST=../libtest/libtest.a
 INSTBIN=/opt/freecalypso/bin
 
+AMR2EFR_OBJS=	amr122bits.o bitmanip.o amr2efr.o
+
 all:	${PROGS}
 
+gsm-amr2efr:	${AMR2EFR_OBJS}
+	${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
+
 gsmrec-dump:	gsmrec-dump.o ${LIBTEST} ${LIBEFR}
 	${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm