# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1611609342 0
# Node ID ba2c796259e94115e38237184d467844957a3a89
# Parent  66f04193a90602974c057ea98c87d5ccf13e06a4
simtool/Makefile: add install

diff -r 66f04193a906 -r ba2c796259e9 simtool/Makefile
--- a/simtool/Makefile	Mon Jan 25 06:03:58 2021 +0000
+++ b/simtool/Makefile	Mon Jan 25 21:15:42 2021 +0000
@@ -5,11 +5,16 @@
 	globals.o hexdump.o hexread.o hlread.o main.o names.o pbcommon.o \
 	pbdump.o readcmd.o readops.o saverestore.o select.o telsum.o writecmd.o\
 	writeops.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