diff Makefile @ 10:05a94b08c8e1

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:56:16 +0000
parents
children 3d6cfb615d90
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Wed Dec 13 03:56:16 2023 +0000
@@ -0,0 +1,14 @@
+SUBDIR=	libnumdb libnumutil utils
+
+all:	${SUBDIR}
+
+utils:	libnumdb libnumutil
+
+${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: