summaryrefslogtreecommitdiff
path: root/python/pymake/tests/doublecolon-priordeps.mk
blob: 6cdf3a8e71a15c09e3f9e88ab15279b9b042821c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#T commandline: ['-j3']

# All *prior* dependencies of a doublecolon rule must be satisfied before
# subsequent commands are run.

all:: target1

all:: target2
	test -f target1
	@echo TEST-PASS

target1:
	touch starting-$@
	sleep 1
	touch $@

target2:
	sleep 0.1
	test -f starting-target1