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.

Mercurial (5216dd412535)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12
test = $0
reverse = $2 $1
twice = $1$1
sideeffect = $(shell echo "called$1:" >>dummyfile)

all:
	test "$(call test)" = "test"
	test "$(call reverse,1,2)" = "2 1"
# expansion happens *before* substitution, thank sanity
	test "$(call twice,$(sideeffect))" = ""
	test `cat dummyfile` = "called:"
	@echo TEST-PASS