1 2 3 4 5 6 7 8 9 10
$(shell \ echo "target" > target.in; \ ) all: target test "$$(cat $^)" = "target" @echo TEST-PASS %: %.in cp $< $@