DIRS := cache-scratch cache-thrash larson linux-scalability phong threadtest all: for dir in $(DIRS); do \ (cd $$dir; ${MAKE}); \ done clean: for dir in $(DIRS); do \ (cd $$dir; ${MAKE} clean); \ done