|
From: | anonymous |
Subject: | [bug #32362] Typo in online documentation for "define" / "call" |
Date: | Sat, 05 Feb 2011 10:00:18 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16) |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |