summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2021-07-10 18:37:17 +0200
committerdzwdz2021-07-10 18:37:17 +0200
commite1a46050ac834b0d1a125847a117edb56d53f32a (patch)
tree7caf029812b4f4358eff37af86345043395aa78e /Makefile
parent861c98378a19d39b0a64b1cc20cf2b797a094f09 (diff)
fix the `make debug` target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 72e3a27..4441263 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ out/obj/%.c.o: src/%.c
boot: out/fs/boot/kernel.bin
qemu-system-i386 -kernel $< $(QFLAGS) -no-shutdown
-debug: kernel.bin
+debug: out/fs/boot/kernel.bin
qemu-system-i386 -kernel $< $(QFLAGS) -s -S &
sleep 1
gdb