changeset 4:be04d84f5468

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Jul 2024 18:52:34 +0000
parents d10ea5dc61b3
children 1bb26347e253
files Makefile
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Jul 05 18:52:34 2024 +0000
@@ -0,0 +1,21 @@
+SUBDIR=	src
+DESTDIR=
+
+all:	${SUBDIR}
+
+${SUBDIR}: FRC config.defs
+	cd $@; ${MAKE} ${MFLAGS}
+
+config.defs:
+	@echo 'You must run ./configure before make'
+	@false
+
+#install: FRC
+#	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
+#		DESTDIR=${DESTDIR} install); done
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: