view rvinterf/Makefile @ 347:dd5bab5156bf

rvinterf/Makefile: rvtat added
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 17:05:35 +0000
parents a46a68500517
children 67d683a87b1d
line wrap: on
line source

PROGDIR=asyncshell ctracedec etmsync lowlevel rvtat tmsh
LIBDIR=	libasync libg23
SUBDIR=	${PROGDIR} ${LIBDIR}

INCLUDE_INSTALL_DIR=	/opt/freecalypso/include/rvinterf

all:	${SUBDIR}

asyncshell:	libasync libg23
lowlevel:	libg23
tmsh:		libasync

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

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: