diff leo-obj/Makefile @ 132:af0f8bfa3b3a

leo-obj/Makefile: created
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 07 Apr 2014 00:59:34 +0000
parents
children 8754c410c10d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/Makefile	Mon Apr 07 00:59:34 2014 +0000
@@ -0,0 +1,15 @@
+OBJDIRS=main
+SUBDIR=	${OBJDIRS} tool
+
+all:	${SUBDIR}
+
+${OBJDIRS}:	tool
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS}
+
+clean: FRC
+	rm -f a.out core errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: