From b2f80382659e739d5e37eefff1ebcdfd023bb9fb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 12 Oct 2019 20:20:29 +0200 Subject: Optimized build process logging --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 81e978b..2e55e56 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ clean: @echo Cleaned build directory build: clean - set -e; \ + @set -e; \ mkdir ./build/; \ # Assemble ASM files @@ -44,8 +44,8 @@ build: clean grub-mkrescue -o ./build/melvix.iso ./iso/; cross: - set -e; \ - [ -d "./cross/" ] && echo "Please remove cross/ and try again" && exit; \ + @set -e; \ + [ -d "./cross/" ] && echo "Please remove ./cross/ and try again" && exit; \ mkdir cross || exit; \ cd cross || exit; \ DIR=$$(pwd); \ @@ -72,7 +72,10 @@ cross: test: build debug debug: - rm -f qemu.log - qemu-system-x86_64 -soundhw pcspk -M accel=kvm:tcg -vga vmware -serial stdio -d cpu_reset -D qemu.log -m 512M -cdrom ./build/melvix.iso + @rm -f qemu.log + @echo "Starting simulation" + @echo "[SERIAL OUTPUT]" + @qemu-system-x86_64 -soundhw pcspk -M accel=kvm:tcg -vga vmware -serial stdio -d cpu_reset -D qemu.log -m 512M -cdrom ./build/melvix.iso + @echo "[END OF CONNECTION]" .PHONY: build clean cross test debug \ No newline at end of file -- cgit v1.2.3