On Thu, Nov 15, 2018 at 6:12 PM Rasmus Villemoes
wrote:
>
> On 15/11/2018 09.27, Masahiro Yamada wrote:
> > GNU Make supports 'define' ... 'endef' directive, which can describe
> > a recipe that consists of multiple lines.
> >
> > endef
> >
> > This does not actually exploit the benefits of 'def
On 15/11/2018 09.27, Masahiro Yamada wrote:
> GNU Make supports 'define' ... 'endef' directive, which can describe
> a recipe that consists of multiple lines.
>
> endef
>
> This does not actually exploit the benefits of 'define' ... 'endef'
> form. All shell commands must be concatenated with '
GNU Make supports 'define' ... 'endef' directive, which can describe
a recipe that consists of multiple lines.
For example,
all:
@echo hello
@echo world
... can be written as:
define greeting
@echo hello
@echo world
endif
all:
3 matches
Mail list logo