summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/implicit-dir.mk
blob: c7f75e8d42d822b39967810d4919c73cadecf275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 $@