aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-28 16:16:04 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-28 16:16:04 -0400
commitb2579636b7025477c70101f3553193b07e5ce006 (patch)
tree65ccf16bf75e75e428234c5d0204df0ea00d8c5b /Makefile
parent4538cbe1b4cbc1170f46168a65bb7a24998dafaa (diff)
Switch `echo -e` for `printf`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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<flags...>\033[m')"
+CFLAGS_PLACEHOLDER="$$(printf '\033[2m<flags...>\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