From 309547cb4dd9459e0682492081c3250e16cc1bf6 Mon Sep 17 00:00:00 2001 From: csBlueChip Date: Sun, 23 Aug 2009 14:38:45 +0000 Subject: [PATCH] Cleaned examples top-level makefile - make all output is now separated and references to cvs are changed to svn --- examples/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index c9f2994..ccc5dda 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,13 +1,22 @@ -SUBDIRS:= `ls | egrep -v '^(CVS)$$'` +SUBDIRS:= `ls | egrep -v '^(\.svn)$$'` DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d) all: - @for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i || { exit 1;} fi; done; + @for i in $(SUBDIRS); do \ + if test -e $$i/Makefile ; then \ + echo "-----------------------------------------------------------";\ + $(MAKE) -C $$i || { exit 1;} \ + fi; \ + done; clean: @rm -f *.bz2 - @for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i clean || { exit 1;} fi; done; + @for i in $(SUBDIRS); do \ + if test -e $$i/Makefile ; then \ + $(MAKE) -C $$i clean || { exit 1;} \ + fi; \ + done; dist: clean @tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *