Cleaned examples top-level makefile - make all output is now separated and references to cvs are changed to svn

This commit is contained in:
csBlueChip 2009-08-23 14:38:45 +00:00
parent 96a383a4b1
commit 309547cb4d

View file

@ -1,13 +1,22 @@
SUBDIRS:= `ls | egrep -v '^(CVS)$$'` SUBDIRS:= `ls | egrep -v '^(\.svn)$$'`
DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d) DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
all: 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: clean:
@rm -f *.bz2 @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 dist: clean
@tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 * @tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *