SUBDIRS = `find -mindepth 1 -type d` all clean:: for dir in $(SUBDIRS) ; do \ (cd $$dir && make $@); \ done