Hi, I possibly discovered a bug in the documentation on the manual page hosted at: https://www.gnu.org/software/make/manual/html_node/Eval-Function.html
In the example makefile: define PROGRAM_template = $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%) ALL_OBJS += $$($(1)_OBJS) endef Should probably be without the equals sign like so: define PROGRAM_template $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%) ALL_OBJS += $$($(1)_OBJS) endef At least on GNU Make 3.81 the one with the equal sign does not work. It does not cause a visible error but does not work. Thanks, Piotr Jankowski