TOPTARGETS := all clean test coverage_report SUBDIRS := $(wildcard */.) $(TOPTARGETS): $(SUBDIRS) $(SUBDIRS): $(MAKE) -C $@ $(MAKECMDGOALS) .PHONY: $(TOPTARGETS) $(SUBDIRS)