summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 0dfb3ff0e333bb0a20884eda8ac0468de39651f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
dirs := $(subst /Makefile,,$(wildcard */Makefile))
.PHONY: clean default $(dirs)
default: $(dirs)
$(dirs):
	$(MAKE) -C $@
clean:
	for dir in $(dirs); do \
		$(MAKE) -C $$dir clean; \
	done