changeset 132:af0f8bfa3b3a

leo-obj/Makefile: created
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 07 Apr 2014 00:59:34 +0000
parents 1209ef15374f
children daeaa5950d10
files leo-obj/Makefile
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
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: