tests/diamond-deps.mk
author Benjamin Smedberg <benjamin@smedbergs.us>
Fri, 20 Feb 2009 17:27:33 -0500
changeset 150 d3574d51916d
parent 74 aae6f068303c
permissions -rw-r--r--
Fix a bug in ifndef.

# 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" >>$@