diff Makefile @ 4:5d7a6bc6960f

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 03 Apr 2024 05:55:51 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Wed Apr 03 05:55:51 2024 +0000
@@ -0,0 +1,12 @@
+SUBDIR=	efr2 std
+
+all:	${SUBDIR}
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS}
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: