FreeCalypso > hg > fc-sim-sniff
diff sw/Makefile @ 33:28ffdfa193f3
sw/Makefile: add install
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 29 Aug 2023 21:47:17 +0000 |
parents | abb72a74f27a |
children | 6bef393a700e |
line wrap: on
line diff
--- a/sw/Makefile Tue Aug 29 21:44:22 2023 +0000 +++ b/sw/Makefile Tue Aug 29 21:47:17 2023 +0000 @@ -4,6 +4,8 @@ LIBDIR= libserial SUBDIR= ${PROGDIR} ${LIBDIR} +INSTALL_PREFIX= /opt/freecalypso + all: ${SUBDIR} sniff-rx: libserial @@ -15,4 +17,9 @@ 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: