diff -r 000000000000 -r 6474c204b198 build/pymake/tests/implicit-dir.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/pymake/tests/implicit-dir.mk Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,16 @@ +# Implicit rules have special instructions to deal with directories, so that a pattern rule which doesn't directly apply +# may still be used. + +all: dir/host_test.otest + +host_%.otest: %.osource extra.file + @echo making $@ from $< + +test.osource: + @echo TEST-FAIL should have made dir/test.osource + +dir/test.osource: + @echo TEST-PASS made the correct dependency + +extra.file: + @echo building $@