FreeCalypso > hg > fc-sim-sniff
annotate sw/Makefile @ 34:c2fc75655937
doc/PPS-catcher-FSM: it has been implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 29 Aug 2023 22:58:26 +0000 |
parents | 28ffdfa193f3 |
children | 6bef393a700e |
rev | line source |
---|---|
23 | 1 CC= gcc |
2 CFLAGS= -O2 | |
3 PROGDIR=sniff-rx | |
4 LIBDIR= libserial | |
5 SUBDIR= ${PROGDIR} ${LIBDIR} | |
6 | |
33
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
8 |
23 | 9 all: ${SUBDIR} |
10 | |
11 sniff-rx: libserial | |
12 | |
13 ${SUBDIR}: FRC | |
14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
15 | |
16 clean: FRC | |
17 rm -f a.out core errs | |
18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
19 | |
33
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
20 install: FRC |
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
21 mkdir -p ${INSTALL_PREFIX} |
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
23 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
28ffdfa193f3
sw/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
23
diff
changeset
|
24 |
23 | 25 FRC: |