build/pymake/tests/diamond-deps.mk
author Benjamin Smedberg <benjamin@smedbergs.us>
Thu, 19 Mar 2009 10:19:38 -0400
changeset 26359 80da01543b565978817c19ad3c739fda73784a79
permissions -rw-r--r--
Import pymake into Mozilla. This is not used by default (yet), but this snapshot should be good enough for doing relative-srcdir builds on Windows. r=ted

# If the dependency graph includes a diamond dependency, we should only remake
# once!

all: depA depB
	cat testfile
	test `cat testfile` = "data";
	@echo TEST-PASS

depA: testfile
depB: testfile

testfile:
	printf "data" >>$@