fix(Makefile): coloured messages

From `man 1 echo`:
> -e     Enable interpretation of backslash escapes.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2026-01-29 02:20:51 +11:00
parent 2f8f12e3c7
commit b6a955be0e
+2 -2
View File
@@ -41,14 +41,14 @@ headers: $(HEADERS_DEPS)
cp "openlibm/src"/*.h $(TARGET_HEADERS)
@set -e ; \
for header in $(HEADERS_UNPARSED); do \
echo "\033[0;36;49mWriting Header $$header\033[0m"; \
echo -e "\033[0;36;49mWriting Header $$header\033[0m"; \
if test -f "src/header/$$header/cbindgen.toml"; then \
out=`echo "$$header" | sed 's/_/\//g'`; \
out="$(TARGET_HEADERS)/$$out.h"; \
cat "src/header/$$header/cbindgen.toml" cbindgen.globdefs.toml \
| cbindgen "src/header/$$header/mod.rs" --config=/dev/stdin --output "$$out"; \
fi \
done; echo "\033[0;36;49mAll headers written\033[0m";
done; echo -e "\033[0;36;49mAll headers written\033[0m";
clean:
$(CARGO) clean