1 2 3 4 5 6 7 8 9 10
all: foo.out test -f $^ @echo TEST-PASS foo.out: %.out: %.in test "$*" = "foo" cp $^ $@ foo.in: touch $@