1 include ../../config.mak
4 all clean depend install:
6 for subdir in $$list; do \
7 if [ -x $$subdir/build -a ! -f .$$subdir -o $@ = clean ] ; \
8 then echo -n Building $$subdir... ; \
9 cd $$subdir && output=`./build $@ 2>&1` ; \
11 then echo OK && touch ../.$$subdir ; \
12 else echo $$output && exit 1 ; \
15 if [ -f $$subdir/Makefile -a -f .$$subdir ] ; \
16 then $(MAKE) -C $$subdir $@ || exit 1 ; \
19 then rm -f .$$subdir ; \