On Mon, Apr 17, 2023 at 3:39 PM Alejandro Colomar
wrote:
> Dmitry, why did $\\ work for you ($\ being my $(empty)), and not for me
> (as $(empty)\)?
¿Cómo estás, Alex?
When make parses a definition, first it performs line continuation
business, then expands macros.
In the case of $(empty)\, mak
Hi Dmitry,
I've written some test to see what works and what doesn't:
$ cat Makefile
foo.h: FORCE
$(file > $@,$(foo))
@:
single:=\
double:=\\
empty:=
space:= #
define foo
Aa \\
Ba \$(single)
Bb \$(single)\
Bc $(single)\
Bd $(single)$(single)
Ca \$(double)
Cb \$(double)\
Cc $