GRRLIB/examples/Makefile

23 lines
523 B
Makefile
Raw Normal View History

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