default : $(DIRS) @for f in $(DIRS); do cd $$f; $(MAKE) $@ || exit 1; cd ..; done $(RECURSIVE_TARGETS) : $(DIRS) @for f in $(DIRS); do cd $$f; $(MAKE) $@ || exit 1; cd ..; done