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 13 14 15 16
#T returncode: 2

# the %.object rule is "terminal". This means that additional implicit rules cannot be chained to it.

all: test.prog
	test "$$(cat $<)" = "Program: Object: Source: test.source"
	@echo TEST-FAIL

%.prog: %.object
	printf "Program: %s" "$$(cat $<)" > $@

%.object:: %.source
	printf "Object: %s" "$$(cat $<)" > $@

%.source:
	printf "Source: %s" $@ > $@