changeset 25:796da8d60b23

target-utils: top-level Makefile created like in the Book-E-MON and SDSL CPE source trees by the same author
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 05:02:04 +0000
parents 9ee91bc6057c
children 1a3bbab2ea26
files target-utils/Makefile
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/target-utils/Makefile	Sat May 04 05:02:04 2013 +0000
@@ -0,0 +1,18 @@
+PROGS=	helloapp loadagent
+LIBS=	libcommom libload libprintf
+SUBDIR=	${PROGS} ${LIBS}
+
+default:	loadagent
+all:		${PROGS}
+
+helloapp:	libcommon libprintf
+loadagent:	libcommon libload libprintf
+
+${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: