FreeCalypso > hg > fc-sim-sniff
view sw/Makefile @ 37:432d756a21f1
doc/Sniffing-workflow: document written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 30 Aug 2023 03:03:04 +0000 |
parents | 28ffdfa193f3 |
children | 6bef393a700e |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGDIR=sniff-rx LIBDIR= libserial SUBDIR= ${PROGDIR} ${LIBDIR} INSTALL_PREFIX= /opt/freecalypso all: ${SUBDIR} sniff-rx: libserial ${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 mkdir -p ${INSTALL_PREFIX} for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ INSTALL_PREFIX=${INSTALL_PREFIX} install); done FRC: