diff pcmu2efr/Makefile @ 17:39b3c24256ae

pcmu2efr: add stdefr-diff sanity check
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 16 Apr 2024 23:41:07 +0000
parents 528eef871e23
children 2bdcd2ed9a1c
line wrap: on
line diff
--- a/pcmu2efr/Makefile	Tue Apr 16 23:31:32 2024 +0000
+++ b/pcmu2efr/Makefile	Tue Apr 16 23:41:07 2024 +0000
@@ -1,11 +1,15 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	stdefr-out
+PROGS=	stdefr-diff stdefr-out
 
 STDEFR_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
+STDEFRD_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o
 
 all:	${PROGS}
 
+stdefr-diff:	${STDEFRD_OBJS}
+	${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr
+
 stdefr-out:	${STDEFR_OBJS}
 	${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr