changeset 142:74c5dc7408e9

uicc/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 05:06:28 +0000
parents 0b8a936f4542
children 431194b772e1
files uicc/Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/uicc/Makefile	Thu Feb 04 05:04:12 2021 +0000
+++ b/uicc/Makefile	Thu Feb 04 05:06:28 2021 +0000
@@ -4,11 +4,16 @@
 OBJS=	alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \
 	dumpdir.o exit.o globals.o hexdump.o hexstr.o hlread.o main.o names.o \
 	pbcommon.o pbdump.o readcmd.o readops.o script.o select.o telsum.o
+INSTBIN=/opt/freecalypso/bin
 
 all:	${PROG}
 
 ${PROG}:	${OBJS}
 	${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite
 
+install:
+	mkdir -p ${INSTBIN}
+	install -c ${PROG} ${INSTBIN}
+
 clean:
 	rm -f ${PROG} *.o