diff rvinterf/Makefile @ 221:a46a68500517

rvinterf/Makefile: install include files in /opt/freecalypso/include/rvinterf
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 May 2017 20:04:35 +0000
parents e7502631a0f9
children dd5bab5156bf
line wrap: on
line diff
--- a/rvinterf/Makefile	Sat May 20 19:57:49 2017 +0000
+++ b/rvinterf/Makefile	Sat May 20 20:04:35 2017 +0000
@@ -2,6 +2,8 @@
 LIBDIR=	libasync libg23
 SUBDIR=	${PROGDIR} ${LIBDIR}
 
+INCLUDE_INSTALL_DIR=	/opt/freecalypso/include/rvinterf
+
 all:	${SUBDIR}
 
 asyncshell:	libasync libg23
@@ -17,5 +19,7 @@
 
 install: FRC
 	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
+	mkdir -p ${INCLUDE_INSTALL_DIR}
+	install -c -m 644 include/* ${INCLUDE_INSTALL_DIR}
 
 FRC: