Makefile 310 Bytes
Newer Older
Tobias Langer committed
1
NON_DIRS=results/
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DIRS=$(patsubst %/,%/,$(sort $(dir $(filter-out $(NON_DIRS),$(wildcard */)))))
MAKE=make

.PHONY: all clean $(DIRS) run

all: $(DIRS)

$(DIRS):
	@echo Entering $@
	$(MAKE) -C $@
	@echo Leaving $@

clean: $(CLEAN)
	@echo Cleaning up...
	@for i in $(DIRS); do ($(MAKE) -C $$i/ clean); done