michael@0: test.foo: %.foo: michael@0: test "$@" = "test.foo" michael@0: @echo TEST-PASS made test.foo by default michael@0: michael@0: all: michael@0: @echo TEST-FAIL made $@, should have made test.foo