summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
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 $@