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