aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: e7a3dfc0c1da89260ce689f4f098864e1118584d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all:
	bam

clean:
	bam -c

rebuild: clean all

mrproper: clean

run_tests:
	rm build/tests/*.log build/tests/*.log.err || true
	bam test

run_qemu: all
	qemu-system-i386 -cdrom cdrom.iso -serial stdio -m 12 </dev/null

run_qemu_debug: all
	qemu-system-i386 -cdrom cdrom.iso -serial stdio -m 12 -s -S </dev/null &	\
	(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd)

run_bochs_debug: all
	bochs -f bochs_debug.cfg -q