aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 49189ad..6e43f2a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
all:
bam
+rel:
+ bam cdrom.rel.iso
+
clean:
bam -c
@@ -20,12 +23,15 @@ rebuild: clean all
mrproper: clean
run_tests:
- rm build/tests/*.log build/tests/*.log.err || true
- bam test
+ rm build/dev/tests/*.log build/dev/tests/*.log.err || true
+ bam test.dev
run_qemu: all
qemu-system-i386 -cdrom cdrom.dev.iso -serial stdio -m 12 </dev/null
+run_qemu_rel: rel
+ qemu-system-i386 -cdrom cdrom.rel.iso -serial stdio -m 12 </dev/null
+
run_qemu_debug: all
qemu-system-i386 -cdrom cdrom.dev.iso -serial stdio -m 12 -s -S </dev/null & \
(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd)