DIRS= drv src lib test all: for i in $(DIRS) ; do make -C $$i || exit $? ; done clean: for i in $(DIRS) ; do make -C $$i clean ; done dep: for i in $(DIRS) ; do make -C $$i dep ; done