mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-23 07:22:23 +00:00
e3451f4585
reorganization of the examples tree and modification of Makefiles inclusion of libpngu source in grrlib
22 lines
523 B
Makefile
22 lines
523 B
Makefile
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 \
|
|
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;
|
|
|
|
dist: clean
|
|
@tar --exclude=.svn -cvjf wii-examples-$(DATESTRING).tar.bz2 *
|