summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordzwdz2021-07-24 21:28:20 +0200
committerdzwdz2021-07-24 21:28:20 +0200
commit986ff1e44ef800f56a5f20afb18c1ffdaf140a23 (patch)
treed454607d2d4e5171b75c20d1ea4f2acb29e6895f
parente8f39e9b3b16cc539b35838876a2d810614acd57 (diff)
make the Makefile show almost nothing except warnings/errors
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b6eaf0a..6fcd2c5 100644
--- a/Makefile
+++ b/Makefile
@@ -13,17 +13,16 @@ endef
out/boot.iso: out/fs/boot/kernel.bin out/fs/boot/grub/grub.cfg out/fs/boot/init
- @echo
- grub-mkrescue -o $@ out/fs/
+ @grub-mkrescue -o $@ out/fs/ > /dev/null 2>&1
out/fs/boot/kernel.bin: src/kernel/linker.ld $(call from_sources, src/kernel/)
@mkdir -p $(@D)
- $(CC) $(LFLAGS) -T $^ -o $@
+ @$(CC) $(LFLAGS) -T $^ -o $@
grub-file --is-x86-multiboot $@
out/fs/boot/init: src/init/linker.ld $(call from_sources, src/init/)
@mkdir -p $(@D)
- $(CC) $(LFLAGS) -T $^ -o $@
+ @$(CC) $(LFLAGS) -T $^ -o $@
out/fs/boot/grub/grub.cfg: grub.cfg
@mkdir -p $(@D)