From b2579636b7025477c70101f3553193b07e5ce006 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 28 Mar 2025 16:16:04 -0400 Subject: Switch `echo -e` for `printf` --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a0731e03..0a83241a 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ EXTRA= G=-ggdb O=-Og CFLAGS=$(CCONFIG) $(EXTRA) $(CWARN) $(G) $(O) $(OSFLAGS) $(LTO) -CFLAGS_PLACEHOLDER="$$(echo -e '\033[2m\033[m')" +CFLAGS_PLACEHOLDER="$$(printf '\033[2m\033[m\n')" LDLIBS=-lgc -lcord -lm -lunistring -lgmp COMPILER_OBJS=$(patsubst %.c,%.o,$(wildcard src/*.c)) STDLIB_OBJS=$(patsubst %.c,%.o,$(wildcard src/stdlib/*.c)) @@ -66,7 +66,7 @@ test/results/%.tm.testresult: test/%.tm build/tomo fi test: $(TESTS) - @echo -e '\x1b[32;7m ALL TESTS PASSED! \x1b[m' + @printf '\x1b[32;7m ALL TESTS PASSED! \x1b[m\n' clean: rm -rf build/* $(COMPILER_OBJS) $(STDLIB_OBJS) test/*.tm.testresult test/.build examples/.build examples/*/.build -- cgit v1.2.3