diff Makefile @ 5:acb4d86e6ed7

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Feb 2021 00:40:14 +0000
parents
children a33d4d8079d2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Mon Feb 22 00:40:14 2021 +0000
@@ -0,0 +1,20 @@
+PROGDIR=smswrap test
+LIBDIR=	libutil
+SUBDIR=	${PROGDIR} ${LIBDIR}
+
+all:	${SUBDIR}
+
+smswrap:	libutil
+test:		libutil
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS}
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+install: FRC
+	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
+
+FRC: