aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarvin Borner2019-10-12 20:20:29 +0200
committerMarvin Borner2019-10-12 20:20:29 +0200
commitb2f80382659e739d5e37eefff1ebcdfd023bb9fb (patch)
tree0721a9c4ff0afe93453e15a9679de9583e25c59a /Makefile
parentfc8b073f0756146904787006f2454db360892fb2 (diff)
Optimized build process logging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
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