2022-03-12 09:50:08 +00:00
|
|
|
SUBDIRS:= `ls | egrep -v '^(\.svn)$$'`
|
|
|
|
|
|
|
|
DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
|
2009-02-13 20:44:54 +00:00
|
|
|
|
|
|
|
all:
|
2022-03-12 09:50:08 +00:00
|
|
|
@for i in $(SUBDIRS); do \
|
|
|
|
if test -e $$i/Makefile ; then \
|
|
|
|
echo "-----------------------------------------------------------";\
|
|
|
|
$(MAKE) -C $$i || { exit 1;} \
|
|
|
|
fi; \
|
2009-08-23 14:38:45 +00:00
|
|
|
done;
|
2009-02-13 20:44:54 +00:00
|
|
|
|
|
|
|
clean:
|
2022-03-12 09:50:08 +00:00
|
|
|
@rm -f *.bz2
|
|
|
|
@for i in $(SUBDIRS); do \
|
|
|
|
if test -e $$i/Makefile ; then \
|
|
|
|
$(MAKE) -C $$i clean || { exit 1;} \
|
|
|
|
fi; \
|
2021-06-26 17:14:43 +00:00
|
|
|
done;
|
2022-03-12 09:50:08 +00:00
|
|
|
|
|
|
|
dist: clean
|
|
|
|
@tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *
|