summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 52fda4e..d03990e 100644
--- a/Makefile
+++ b/Makefile
@@ -76,4 +76,10 @@ install-kernel: $(KERNEL)
mkdir -p $(DESTDIR)$(BOOTDIR)
cp $(KERNEL) $(DESTDIR)$(BOOTDIR)
+run: $(KERNEL)
+ qemu-system-i386 -kernel $(KERNEL)
+
+debug: $(KERNEL)
+ qemu-system-i386 -kernel $(KERNEL) -s -S
+
-include $(OBJS:.o=.d)