manu/Makefile: run a recursive make on all subdirectories

- boom/boom-config.in: new command "manu" to list the manufacturers
- manu/Makefile: run make for targets "all", "test", "sane", and "spotless"
  on each manufacturer directory
This commit is contained in:
Werner Almesberger 2010-10-30 19:12:29 -03:00
parent 6ba3a5667a
commit a6c65c7dd2
2 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,8 @@ while [ "$1" ]; do
for n in $DIST; do echo "$base/dist/$n/db/all.dsc"; done;;
chr)
for n in $MANU; do echo "$base/manu/$n/$n.chr"; done;;
manu)
echo $MANU;;
*)
usage;;
esac

11
boom/manu/Makefile Normal file
View File

@ -0,0 +1,11 @@
DIRS = $(shell ../boom-config manu)
.PHONY: all test sane spotless $(DIRS)
all: $(DIRS)
$(DIRS):
$(MAKE) -C $@
test sane spotless:
for n in $(DIRS); do $(MAKE) -C $$n $@ || exit 1; done