Add threading, paging broken
diff --git a/src/kernel/Jmk b/src/kernel/Jmk
index 5774274..c299cf1 100644
--- a/src/kernel/Jmk
+++ b/src/kernel/Jmk
@@ -36,14 +36,18 @@
 			multiboot.o \
 			vfs_initrd.o \
 			syscall.o \
-			task.o
+			task.o \
+			task_api.o
 
 type(custom_link)
 
+debug-wait: kernel.elf
+	qemu-system-i386 -s -S -kernel kernel.elf
+
 debug: kernel.elf
 	qemu-system-i386 -s -S -kernel kernel.elf &
 	@echo run "target remote localhost:1234" to connect to qemu
-	gdb
+	gdb $<
 	@pkill qemu-system-i38
 
 qemu: kernel.elf