@jwildeboer The backslash is interpreted by the shell, the single "$" is interpreted (consumed) by make, as it tries to access a variable $" (dollar-sign, followed by double-quote). To echo a "$", you need to:
1. Escape using "\" for the shell
2. Escape using "$$" for make
Note how the make output of the first file is just the line:
echo "\
And the second invocation gets it as:
echo "\$"