changeset 23:abb72a74f27a

sw/Makefile: add
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 22 Aug 2023 06:29:27 +0000
parents b112c2df6c43
children f1e7795557b1
files sw/Makefile
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sw/Makefile	Tue Aug 22 06:29:27 2023 +0000
@@ -0,0 +1,18 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGDIR=sniff-rx
+LIBDIR=	libserial
+SUBDIR=	${PROGDIR} ${LIBDIR}
+
+all:	${SUBDIR}
+
+sniff-rx:	libserial
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: