diff frtest/Makefile @ 245:6de564ef70d3

frtest: new program gsmfr-cod2std
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 May 2023 22:32:48 +0000
parents 80c93ef82a51
children 9ee8ad3d4d30
line wrap: on
line diff
--- a/frtest/Makefile	Tue May 09 17:28:19 2023 +0000
+++ b/frtest/Makefile	Tue May 09 22:32:48 2023 +0000
@@ -1,7 +1,8 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx gsmfr-dlcap-parse \
-	gsmfr-encode gsmfr-encode-r gsmfr-hand-test gsmfr-max-out gsmfr-preproc
+PROGS=	gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx \
+	gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r gsmfr-hand-test \
+	gsmfr-max-out gsmfr-preproc
 LIBPP=	../libgsmfrp/libgsmfrp.a
 LIBTEST=../libtest/libtest.a
 LIBDEC=	${LIBTEST} ${LIBPP}
@@ -9,6 +10,9 @@
 
 all:	${PROGS}
 
+gsmfr-cod2std:	cod2std.o
+	${CC} ${CFLAGS} -o $@ cod2std.o -lgsm
+
 gsmfr-decode:	decode.o ${LIBDEC}
 	${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm