-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (44 loc) · 1012 Bytes
/
Makefile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
clean:
rm -r ./os161-base-2.0.3/kern/compile/PAGING
configure:
cd ./os161-base-2.0.3/kern/conf && \
./config PAGING
compile: configure
cd ./os161-base-2.0.3/kern/compile/PAGING && \
bmake depend && \
bmake && \
bmake install
debug: compile
cd root && \
gnome-terminal -- sys161 -w kernel-PAGING && \
sleep 0.5 && \
ddd --debugger mips-harvard-os161-gdb kernel-PAGING
justdebug:
cd root && \
gnome-terminal -- sys161 -w kernel-PAGING && \
sleep 0.5 && \
ddd --debugger mips-harvard-os161-gdb kernel-PAGING
run:
cd root && \
sys161 kernel-PAGING
pdf:
pandoc README.md \
-V linkcolor:blue \
-V geometry:a4paper \
-V geometry:margin=3cm \
--toc \
-o ../report.pdf
evince ../report.pdf
dumbclean:
rm -r ./os161-base-2.0.3/kern/compile/DUMBVM
dumbconfigure:
cd ./os161-base-2.0.3/kern/conf && \
./config DUMBVM
dumbcompile: dumbconfigure
cd ./os161-base-2.0.3/kern/compile/DUMBVM && \
bmake depend && \
bmake && \
bmake install
dumbrun:
cd root && \
sys161 kernel-DUMBVM