-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
61 lines (46 loc) · 1.21 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
all: BootLoader Kernel32 Kernel64 Disk.img Utility
BootLoader:
@echo
@echo ================= Build Boot Loader =================
@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
./ImageMaker.exe $^
@echo
@echo ================= All Build Complete =================
@echo
Utility:
@echo
@echo ================= Utility Build Start =================
@echo
@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