mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-21 22:42:20 +00:00
Cleaned examples top-level makefile - make all output is now separated and references to cvs are changed to svn
This commit is contained in:
parent
96a383a4b1
commit
309547cb4d
1 changed files with 12 additions and 3 deletions
|
@ -1,13 +1,22 @@
|
|||
SUBDIRS:= `ls | egrep -v '^(CVS)$$'`
|
||||
SUBDIRS:= `ls | egrep -v '^(\.svn)$$'`
|
||||
|
||||
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;
|
||||
@for i in $(SUBDIRS); do \
|
||||
if test -e $$i/Makefile ; then \
|
||||
echo "-----------------------------------------------------------";\
|
||||
$(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;
|
||||
@for i in $(SUBDIRS); do \
|
||||
if test -e $$i/Makefile ; then \
|
||||
$(MAKE) -C $$i clean || { exit 1;} \
|
||||
fi; \
|
||||
done;
|
||||
|
||||
dist: clean
|
||||
@tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *
|
||||
|
|
Loading…
Reference in a new issue