From 84a038f82323da3b2b6d819bea4d23fa4676d014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Le=20Calvar?= <theo.le-calvar@imt-atlantique.fr> Date: Fri, 21 Feb 2025 15:03:37 +0100 Subject: [PATCH] add run, run_gui, debug, debug_gui rules to makefile --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4776c54..96c00bd 100755 --- a/Makefile +++ b/Makefile @@ -65,9 +65,19 @@ $(KERNEL_OBJ): $(OBJECTS) $(MV) $@ build/all-o -run: +run: $(KERNEL_OBJ) + $(QEMU) -display curses -net nic,model=ne2k_isa -net user,tftp=./build/boot -cdrom ./build/boot/grub.iso + +run_gui: $(KERNEL_OBJ) $(QEMU) -net nic,model=ne2k_isa -net user,tftp=./build/boot -cdrom ./build/boot/grub.iso +debug: $(KERNEL_OBJ) + $(QEMU) -display curses -S -s -net nic,model=ne2k_isa -net user,tftp=./build/boot -cdrom ./build/boot/grub.iso + +debug_gui: $(KERNEL_OBJ) + $(QEMU) -S -s -net nic,model=ne2k_isa -net user,tftp=./build/boot -cdrom ./build/boot/grub.iso + + # Clean directory clean: $(DELE) build/all-o/*.o -- GitLab