# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1668918215 0
# Node ID 68a7e86c986802eb1b5d91767e4e3cf72700ab13
# Parent  b9a842775f40b1487b6f95832220773c909f2323
frtest/Makefile: add install

diff -r b9a842775f40 -r 68a7e86c9868 frtest/Makefile
--- a/frtest/Makefile	Sun Nov 20 04:20:40 2022 +0000
+++ b/frtest/Makefile	Sun Nov 20 04:23:35 2022 +0000
@@ -4,6 +4,7 @@
 LIBPP=	../libgsmfrp/libgsmfrp.a
 LIBTEST=../libtest/libtest.a
 LIBDEC=	${LIBTEST} ${LIBPP}
+INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
 
@@ -13,5 +14,9 @@
 gsmfr-encode:	encode.o ${LIBTEST}
 	${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm
 
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROGS} ${INSTBIN}
+
 clean:
 	rm -f *.o *.out ${PROGS}