blob: 9bccf44a33451ff1034f432788d4bf41fc06ab46 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
DIRS = src/common/libkogata src/common/libc src/common/libalgo src/kernel src/lib/libkogata src/apps/init
all:
for dir in $(DIRS); do \
$(MAKE) -C $$dir || exit 1; \
done
rebuild:
for dir in $(DIRS); do \
$(MAKE) -C $$dir rebuild || exit 1; \
done
clean:
for dir in $(DIRS); do \
$(MAKE) -C $$dir clean; \
done
mrproper:
for dir in $(DIRS); do \
$(MAKE) -C $$dir mrproper; \
done
run_tests: rebuild
src/tests/run_tests.sh
run_qemu: all
qemu-system-i386 -kernel src/kernel/kernel.bin -serial stdio -m 16 -initrd src/apps/init/init.bin
run_qemu_debug: all
qemu-system-i386 -kernel src/kernel/kernel.bin -serial stdio -s -S & \
(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd)
run_bochs_debug: all
./make_cdrom.sh
bochs -f bochs_debug.cfg -q
|