diff Makefile @ 9:4229247843c0

top Makefile: initial version
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 19 Nov 2022 23:09:44 +0000
parents
children f88817a233fb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sat Nov 19 23:09:44 2022 +0000
@@ -0,0 +1,14 @@
+CC=	gcc
+CFLAGS=	-O2
+SUBDIR=	dev libgsmfrp libtest
+
+all:	${SUBDIR}
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: