changeset 10:05a94b08c8e1

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:56:16 +0000
parents 0b4d54289ef3
children 3d6cfb615d90
files Makefile
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
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: