Ignoring the whitespaces

Bartłomiej Wójcik <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <CA+5vBXaUnFdc=hTk_DGDkt=w9YLsVrEcR2FApO=W5spyUoxshg@mail.gmail.com>
Hi,
The GNU make documentation states:

*define myrule
target:
        echo built
endef

$(myrule)
*

*The above makefile results in the definition of a target ‘target’ with
prerequisites ‘echo’ and ‘built’, as if the makefile contained target: echo
built, rather than a rule with a recipe. Newlines still present in a line
after expansion is complete are ignored as normal whitespace.*

Why in that macro the whitespaces between *target:* and *echo built* are
ignored? What is this property and what exactly does it refer to? Where is
it stated in the documentation?

I would appreciate any kind of clarification.

Thanks,
Bartek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.