mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 23:12:21 +00:00
13 lines
408 B
Makefile
13 lines
408 B
Makefile
SUBDIRS:= `ls | egrep -v '^(CVS)$$'`
|
|
|
|
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;
|
|
|
|
clean:
|
|
@rm -f *.bz2
|
|
@for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i clean || { exit 1;} fi; done;
|
|
|
|
dist: clean
|
|
@tar --exclude=*CVS* -cvjf wii-examples-$(DATESTRING).tar.bz2 *
|