]> git.dujemihanovic.xyz Git - nameless-os.git/blobdiff - Makefile
Add ability to print numbers in decimal
[nameless-os.git] / Makefile
index 2eedce2495997d6df2e6aa35a3d82f0a4ed74313..0e56c23ed6081d925a3a0299a6f32c6a6c0a7e92 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ bootloader: $(BOOTLOADER_OBJ)
 run: all
        $(QEMU) boot/x86/disk.img
 
+debug: all
+       $(QEMU) -s -S boot/x86/disk.img
+
 boot/x86/mbr: boot/x86/mbr.s
 boot/x86/vbr-fat32: boot/x86/vbr-fat32.s boot/x86/fat32/*.s 
 boot/x86/stage3/LOADER.BIN: boot/x86/stage3/*.s boot/x86/stage3/*.c boot/x86/fat32/*.s
@@ -54,4 +57,4 @@ clean:
        -rm kernel/kernel.{bin,dbg,elf} ${KERNEL_OBJ}
        cd boot/x86 && $(MAKE) clean
 
-.PHONY: default all clean run bootloader
+.PHONY: default all clean run debug bootloader