-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
65 lines (47 loc) · 1.03 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
all: BootLoader Kernel32 Kernel64 Utility Disk.img
BootLoader:
@echo
@echo ==========Build BootLoader==========
@echo
make -C 00.BootLoader
@echo
@echo ==========Build Complete==========
@echo
Kernel32:
@echo
@echo ==========Build 32bit Kernel==========
@echo
make -C 01.Kernel32
@echo
@echo ==========Build Complete==========
@echo
Kernel64:
@echo
@echo ==========Build 64bit Kernel==========
@echo
make -C 02.Kernel64
@echo
@echo ==========Build Complete==========
@echo
Disk.img: 00.BootLoader/BootLoader.bin 01.Kernel32/Kernel32.bin 02.Kernel64/Kernel64.bin
@echo
@echo ==========Disk Image Build Start==========
@echo
./04.Utility/00.ImageMaker/ImageMaker $^
@echo
@echo ==========All Build Complete==========
@echo
Utility:
@echo
@echo ==========Utility Build Start==========
@echo
make -C 04.Utility
@echo
@echo ==========Utility Build Complete==========
@echo
clean:
make -C 00.BootLoader clean
make -C 01.Kernel32 clean
make -C 02.Kernel64 clean
make -C 04.Utility clean
rm -f Disk.img