diff --git a/makefile.md b/makefile.md index 1eea16207..eacf7094b 100644 --- a/makefile.md +++ b/makefile.md @@ -21,13 +21,12 @@ out.o: src.c src.h $^ # "src.c src.h" (all prerequisites) %.o: %.c - $% # target member name ("foo" in "foo.c") + $* # the 'stem' with which an implicit rule matches ("foo" in "foo.c") also: $+ # prerequisites (all, with duplication) $? # prerequisites (new ones) $| # prerequisites (order-only?) - $* # basename without extension of the target (?) $(@D) # target directory ```