comparison 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
comparison
equal deleted inserted replaced
220:5c78f132547c 221:a46a68500517
1 PROGDIR=asyncshell ctracedec etmsync lowlevel tmsh 1 PROGDIR=asyncshell ctracedec etmsync lowlevel tmsh
2 LIBDIR= libasync libg23 2 LIBDIR= libasync libg23
3 SUBDIR= ${PROGDIR} ${LIBDIR} 3 SUBDIR= ${PROGDIR} ${LIBDIR}
4
5 INCLUDE_INSTALL_DIR= /opt/freecalypso/include/rvinterf
4 6
5 all: ${SUBDIR} 7 all: ${SUBDIR}
6 8
7 asyncshell: libasync libg23 9 asyncshell: libasync libg23
8 lowlevel: libg23 10 lowlevel: libg23
15 rm -f a.out core errs 17 rm -f a.out core errs
16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
17 19
18 install: FRC 20 install: FRC
19 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done 21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
22 mkdir -p ${INCLUDE_INSTALL_DIR}
23 install -c -m 644 include/* ${INCLUDE_INSTALL_DIR}
20 24
21 FRC: 25 FRC: