-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
55 lines (40 loc) · 1.37 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
all: BootLoader Kernel32 Kernel64 Disk.img
BootLoader:
@echo
@echo ============================ Build Boot Loader ====================================
@echo
make -C 00.BootLoader
@echo
@echo ============================ Build Complete =======================================
@echo
Kernel32:
@echo
@echo ============================ Build Kernel32 ====================================
@echo
make -C 01.Kernel32
@echo
@echo ============================ Build Complete =======================================
@echo
Kernel64:
@echo
@echo ============================ Build Kernel32 ====================================
@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
@echo ============================== Sending to VM ========== =============================
@echo ============================== Sending to VM =======================================
clean:
make -C 00.BootLoader clean
make -C 01.Kernel32 clean
make -C 02.Kernel64 clean
rm -f Disk.img