FreeCalypso > hg > fc-sim-sniff
changeset 33:28ffdfa193f3
sw/Makefile: add install
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 29 Aug 2023 21:47:17 +0000 |
parents | fb9c03515832 |
children | c2fc75655937 |
files | sw/Makefile |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
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: