changeset 17:68a7e86c9868

frtest/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 04:23:35 +0000
parents b9a842775f40
children 39dbaccc349d
files frtest/Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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}