diff Makefile @ 2:5b69dfc789f2

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:08:39 +0000
parents
children 2e4d02c1ee2d
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: