changeset 107:ba2c796259e9

simtool/Makefile: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jan 2021 21:15:42 +0000
parents 66f04193a906
children 6f80cfdc7e05
files simtool/Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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