changeset 2:5b69dfc789f2

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:08:39 +0000
parents 2071b28cd0c7
children e9e8ce12f5a5
files Makefile
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Thu Feb 11 23:08:39 2021 +0000
@@ -0,0 +1,19 @@
+PROGDIR=simtool
+LIBDIR=	libcommon
+SUBDIR=	${PROGDIR} ${LIBDIR}
+
+all:	${SUBDIR}
+
+simtool:	libcommon
+
+${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: