check: $(MAKE) -f scripts/makefile check .DEFAULT: $(MAKE) -f scripts/makefile $< SOURCES != echo */source.mk DO != echo -n > tests.mk && rm -rf reports # basic tests that shouldn't cause the return code to be nonzero TESTS := include $(SOURCES) DO != echo "$(TESTS)" | xargs ./scripts/gen-simple RM ?= rm .PHONY: clean clean: $(RM) -rf reports