DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.
# we should succeed in making foo.ooo from foo.ooo.testall: foo.ooo
@echo TEST-PASS
%.ooo: %.ccc
exit 1
# this match-anything rule is terminal, and therefore applies%:: %.test
cp $< $@
foo.ooo.test:
touch $@