diff frtest/Makefile @ 26:40fcd89d8823

frtest: cn-debug utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 18:08:41 +0000
parents 94f18b720f1e
children 896ce7f1d271
line wrap: on
line diff
--- a/frtest/Makefile	Sun Nov 20 16:56:43 2022 +0000
+++ b/frtest/Makefile	Sun Nov 20 18:08:41 2022 +0000
@@ -1,6 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode gsmfr-preproc
+NOINST=	cn-debug
 LIBPP=	../libgsmfrp/libgsmfrp.a
 LIBTEST=../libtest/libtest.a
 LIBDEC=	${LIBTEST} ${LIBPP}
@@ -8,7 +9,10 @@
 
 CVT_OBJS=cvt-dlcap.o tidsp.o
 
-all:	${PROGS}
+all:	${PROGS} ${NOINST}
+
+cn-debug:	cn-debug.o ${LIBDEC}
+	${CC} ${CFLAGS} -o $@ cn-debug.o ${LIBDEC} -lgsm
 
 gsmfr-cvt-dlcap:	${CVT_OBJS}
 	${CC} ${CFLAGS} -o $@ ${CVT_OBJS}
@@ -27,4 +31,4 @@
 	install -c ${PROGS} ${INSTBIN}
 
 clean:
-	rm -f *.o *.out ${PROGS}
+	rm -f *.o *.out ${PROGS} ${NOINST}