aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-30 23:39:14 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-30 23:39:14 +0200
commit2f34f0694f953fd00d2885b86634bbd618852fed (patch)
tree2eabba74b136043596e0bc6e5148184a4e7da87b /Makefile
parentf58f65c30de315d4419f69a92a708cbed797ff37 (diff)
downloadkogata-2f34f0694f953fd00d2885b86634bbd618852fed.tar.gz
kogata-2f34f0694f953fd00d2885b86634bbd618852fed.zip
Fix stuff
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)