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 (31ec81b5d7bb)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#T commandline: ['-j2']

# ensure that calling python commands doesn't block other targets
ifndef SLEEP
SLEEP := sleep
endif

PRINTF = printf "$@:0:" >>results
EXPECTED = target2:0:target1:0:

all:: target1 target2
	cat results
	test "$$(cat results)" = "$(EXPECTED)"
	@echo TEST-PASS

target1:
	$(SLEEP) 0.1
	$(PRINTF)

target2:
	$(PRINTF)