diff --git a/Makefile b/Makefile index 4776c545d89b1c75cf5464979543e6aa53a146b4..96c00bde6951baf9f89a45e276cc00108e82353c 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