Makefile: replace `echo` with `printf` for compatibility
authorKaDiWa <kalle.wachsmuth@gmail.com>
Mon, 21 Nov 2022 15:59:05 +0000 (16:59 +0100)
committerAnup Patel <anup@brainfault.org>
Sun, 4 Dec 2022 15:11:30 +0000 (20:41 +0530)
commitba3202168339e86b5aa28cccf090cfe6d848d88b
treef5fdb4860cf1202014f37d4f24683fb66823bd35
parent9a740f5c4655053f4d8c7df65f51ad58cfb1bb2e
Makefile: replace `echo` with `printf` for compatibility

I don't know why but `echo -n` didn't work for me. macOS supports
the `-n` option but it doesn't work in the makefile. What it does
instead is it literally writes `-n` to the file and then also
leaves a newline at the end.

I'm using GNU Make 4.4 (`gmake` from Homebrew).

Signed-off-by: KaDiWa <kalle.wachsmuth@gmail.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Makefile