summaryrefslogtreecommitdiff
path: root/build/pymake/tests/remake-mtime.mk
blob: 47c775b93e643e57e7f5f168d0884b1998dd51e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# mtime(dep1) < mtime(target) so the target should not be made
$(shell touch dep1; sleep 1; touch target)

all: target
	echo TEST-PASS

target: dep1
	echo TEST-FAIL target should not have been made

dep1: dep2
	@echo "Remaking dep1 (actually not)"

dep2:
	@echo "Making dep2 (actually not)"