URL:
<http://savannah.gnu.org/bugs/?32362>
Summary: Typo in online documentation for "define" / "call"
Project: make
Submitted by: None
Submitted on: Sat 05 Feb 2011 10:00:17 AM UTC
Severity: 3 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
The page
http://www.gnu.org/software/autoconf/manual/make/Eval-Function.html
shows an example Makefile that doesn't seem to work for me (with make v3.81
at least).
The problem is the "=" in
define PROGRAM_template =
If I remove it and write
define PROGRAM_template
$(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%)
ALL_OBJS += $$($(1)_OBJS)
endef
instead, it works.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32362>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make