1 2 3 4 5 6 7 8 9 10 11 12
$(shell \ mkdir subd1; \ touch subd1/test.in; \ ) VVAR = %.in subd1 vpath $(VVAR) all: test.in test "$<" = "subd1/test.in" @echo TEST-PASS