1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/pymake/tests/implicit-dir.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +# Implicit rules have special instructions to deal with directories, so that a pattern rule which doesn't directly apply 1.5 +# may still be used. 1.6 + 1.7 +all: dir/host_test.otest 1.8 + 1.9 +host_%.otest: %.osource extra.file 1.10 + @echo making $@ from $< 1.11 + 1.12 +test.osource: 1.13 + @echo TEST-FAIL should have made dir/test.osource 1.14 + 1.15 +dir/test.osource: 1.16 + @echo TEST-PASS made the correct dependency 1.17 + 1.18 +extra.file: 1.19 + @echo building $@