summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-15 15:39:13 -0500
committerIan Moffett <ian@osmora.org>2025-11-15 15:39:33 -0500
commit1c4cabccac1d994b266cef2d6cb45d96c5761592 (patch)
treeeaa03e3ae6f53a4c52f1f7d6b886be2e5d7f3f05 /sys/kern
parentc7682f5cd382a7690029bf95448bed2fda8ec83a (diff)
build: Make build logs pretty
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile
index 27fe60b..ed0380a 100644
--- a/sys/kern/Makefile
+++ b/sys/kern/Makefile
@@ -1,3 +1,6 @@
+.SILENT:
+override PROMPT := printf "%s\t\t%s\n"
+
CFILES = $(shell find . -name "*.c")
OFILES = $(CFILES:.c=.o)
CC =
@@ -7,4 +10,5 @@ SYS_CFLAGS =
all: $(OFILES)
%.o: %.c
+ $(PROMPT) " [CC] " $<
$(CC) -c $< $(SYS_CFLAGS) -I../inc/ -o $@