diff pcma2efr/Makefile @ 31:dd9a9368009e

pcma2efr: emit full input sequence
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 May 2024 05:56:13 +0000
parents 760bbae44c1f
children
line wrap: on
line diff
--- a/pcma2efr/Makefile	Mon May 13 05:40:56 2024 +0000
+++ b/pcma2efr/Makefile	Mon May 13 05:56:13 2024 +0000
@@ -1,7 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	comb-diff comb-out dhf-check
-FILES=	all-outputs.gsmx all-outputs.inc
+PROGS=	comb-diff comb-out dhf-check pcma-input
+FILES=	all-outputs.gsmx all-outputs.inc pcma-input.bin
 
 COMB_DIFF_OBJS=	alaw-expand.o comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o \
 		seqsynca.o
@@ -9,6 +9,7 @@
 		seqsynca.o
 DHF_CHECK_OBJS=	alaw-expand.o dhf-check.o gen-amr-2fr.o gen-efr.o gen160.o \
 		seqsynca.o
+PCMA_IN_OBJS=	pcma-input.o seqsynca.o
 
 all:	${PROGS} ${FILES}
 
@@ -21,6 +22,9 @@
 dhf-check:	${DHF_CHECK_OBJS}
 	${CC} ${CFLAGS} -o $@ ${DHF_CHECK_OBJS} -lgsmefr -ltwamr
 
+pcma-input:	${PCMA_IN_OBJS}
+	${CC} ${CFLAGS} -o $@ ${PCMA_IN_OBJS}
+
 # data outputs
 
 all-outputs.gsmx:	comb-out
@@ -29,5 +33,8 @@
 all-outputs.inc:	all-outputs.gsmx
 	../utils/gen-hex-c all-outputs.gsmx $@
 
+pcma-input.bin:	pcma-input
+	./pcma-input $@
+
 clean:
 	rm -f *.o ${PROGS} *.bin *.gsmx *.inc