diff loadtools/Makefile @ 44:b77005f6d315

loadtools: migration to /opt/freecalypso
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 05:55:04 +0000
parents e7502631a0f9
children 54a6864cabf4
line wrap: on
line diff
--- a/loadtools/Makefile	Wed Oct 26 05:40:33 2016 +0000
+++ b/loadtools/Makefile	Wed Oct 26 05:55:04 2016 +0000
@@ -1,7 +1,9 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	fc-iram fc-loadtool fc-xram fc-compalram
-INSTBIN=/usr/local/bin
+INSTBIN=/opt/freecalypso/bin
+INSTCONF=/opt/freecalypso/loadtools
+INSTHELP=/opt/freecalypso/helpfiles
 
 EXTRA_OBJ=	compalload.o
 
@@ -37,7 +39,10 @@
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}
-	./install-helpers.sh
+	mkdir -p ${INSTCONF}
+	install -c -m 644 scripts/* ${INSTCONF}
+	mkdir -p ${INSTHELP}
+	install -c -m 644 loadtool.help ${INSTHELP}
 
 clean:
 	rm -f *.o *.out *errs ${PROGS}