]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | SHELL=/bin/sh |
2 | ||
3 | DIRS=`find . -print | sed "s|\./||g" | grep -v "/" | grep -v "\." ` | |
4 | ||
5 | all: | |
6 | @for i in $(DIRS) xxx; do \ | |
7 | if test -r $$i/Makefile ; then \ | |
8 | echo "entering directory $$i building $@";\ | |
9 | (cd $$i ; ${MAKE} $@); \ | |
10 | fi; \ | |
11 | done | |
12 | ||
13 | .DEFAULT: | |
14 | @for i in $(DIRS) xxx; do \ | |
15 | if test -r $$i/Makefile ; then \ | |
16 | echo "entering directory $$i building $@";\ | |
17 | (cd $$i ; ${MAKE} $@); \ | |
18 | fi; \ | |
19 | done |