FreeCalypso > hg > fc-sim-sniff
comparison sw/Makefile @ 23:abb72a74f27a
sw/Makefile: add
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 22 Aug 2023 06:29:27 +0000 |
parents | |
children | 28ffdfa193f3 |
comparison
equal
deleted
inserted
replaced
22:b112c2df6c43 | 23:abb72a74f27a |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROGDIR=sniff-rx | |
4 LIBDIR= libserial | |
5 SUBDIR= ${PROGDIR} ${LIBDIR} | |
6 | |
7 all: ${SUBDIR} | |
8 | |
9 sniff-rx: libserial | |
10 | |
11 ${SUBDIR}: FRC | |
12 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
13 | |
14 clean: FRC | |
15 rm -f a.out core errs | |
16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
17 | |
18 FRC: |