20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
|
SHELL=/bin/sh
|
||
|
|
||
|
DIRS=`find . -print | sed "s|\./||g" | grep -v "/" | grep -v "\." `
|
||
|
|
||
|
all:
|
||
|
@for i in $(DIRS) xxx; do \
|
||
|
if test -r $$i/Makefile ; then \
|
||
|
echo "entering directory $$i building $@";\
|
||
|
(cd $$i ; ${MAKE} $@); \
|
||
|
fi; \
|
||
|
done
|
||
|
|
||
|
.DEFAULT:
|
||
|
@for i in $(DIRS) xxx; do \
|
||
|
if test -r $$i/Makefile ; then \
|
||
|
echo "entering directory $$i building $@";\
|
||
|
(cd $$i ; ${MAKE} $@); \
|
||
|
fi; \
|
||
|
done
|