FreeCalypso > hg > freecalypso-tools
view rvinterf/Makefile @ 472:368ffb8a08e5
CHANGES: CC= and CFLAGS= override-ability documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 12 Feb 2019 00:30:37 +0000 |
parents | 8f3fe2d1fda5 |
children | 90d7c360a614 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGDIR=asyncshell ctracedec etmsync lowlevel rvtat tmsh LIBDIR= libasync libg23 libinterf SUBDIR= ${PROGDIR} ${LIBDIR} INCLUDE_INSTALL_DIR= /opt/freecalypso/include/rvinterf all: ${SUBDIR} asyncshell: libasync libg23 libinterf etmsync: libinterf lowlevel: libg23 rvtat: libinterf tmsh: libasync libinterf ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS=${CFLAGS} 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: