annotate sw/Makefile @ 25:c03a882cc49e

doc/Sniffer-FPGA-design: update for working status
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Aug 2023 06:37:58 +0000
parents abb72a74f27a
children 28ffdfa193f3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROGDIR=sniff-rx
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LIBDIR= libserial
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 SUBDIR= ${PROGDIR} ${LIBDIR}
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${SUBDIR}
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 sniff-rx: libserial
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${SUBDIR}: FRC
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 clean: FRC
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 rm -f a.out core errs
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
abb72a74f27a sw/Makefile: add
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 FRC: