GRRLIB/examples/Makefile

23 lines
523 B
Makefile
Raw Normal View History

SUBDIRS:= `ls | egrep -v '^(\.svn)$$'`
DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
2009-02-13 20:44:54 +00:00
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; \
2021-06-26 17:14:43 +00:00
done;
dist: clean
@tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *