diff miscutil/Makefile @ 23:baadb1cb744d

new debug utility gsmrec-dump
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 08:05:32 +0000
parents frtest/Makefile@7960744ba19c
children edd2e20e7090
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/miscutil/Makefile	Sun Nov 20 08:05:32 2022 +0000
@@ -0,0 +1,17 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	gsmrec-dump
+LIBTEST=../libtest/libtest.a
+INSTBIN=/opt/freecalypso/bin
+
+all:	${PROGS}
+
+gsmrec-dump:	gsmrec-dump.o ${LIBTEST}
+	${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} -lgsm
+
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f *.o *.out ${PROGS}