SUBDIRS=$(wildcard */)
dirs:
@for dir in $(SUBDIRS) ; do \
$(MAKE) -C $$dir ; \
done
clean:
$(MAKE) -C $$dir clean ; \
all: clean dirs