FreeCalypso > hg > fc-pcm-if
view sw/Makefile @ 15:8b49ea8aeb99
fc-mcsi-rxtx: more reliable fflush(stdout) in main loop
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 23:43:10 +0000 |
parents | ee14dd81bba1 |
children |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGDIR=mcsi-rx mcsi-rxtx LIBDIR= libserial SUBDIR= ${PROGDIR} ${LIBDIR} INSTALL_PREFIX= /opt/freecalypso all: ${SUBDIR} mcsi-rx: libserial mcsi-rxtx: 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: