michael@0: # Implicit rules have special instructions to deal with directories, so that a pattern rule which doesn't directly apply michael@0: # may still be used. michael@0: michael@0: all: dir/host_test.otest michael@0: michael@0: host_%.otest: %.osource extra.file michael@0: @echo making $@ from $< michael@0: michael@0: test.osource: michael@0: @echo TEST-FAIL should have made dir/test.osource michael@0: michael@0: dir/test.osource: michael@0: @echo TEST-PASS made the correct dependency michael@0: michael@0: extra.file: michael@0: @echo building $@