]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | DIR = boot0 | |
3 | include ../MakePaths.dir | |
4 | ||
5 | NASM = $(SYMROOT)/nasm | |
6 | INSTALLDIR = $(DSTROOT)/usr/standalone/i386 | |
7 | DIRS_NEEDED = $(SYMROOT) | |
8 | ||
9 | all: $(DIRS_NEEDED) boot0 chain0 | |
10 | ||
11 | boot0: boot0.s Makefile $(NASM) | |
12 | $(NASM) boot0.s -o $(SYMROOT)/$@ | |
13 | ||
14 | chain0: chain0.s Makefile $(NASM) | |
15 | $(NASM) chain0.s -o $(SYMROOT)/$@ | |
16 | ||
17 | install_i386:: all $(INSTALLDIR) | |
18 | cp $(SYMROOT)/boot0 $(SYMROOT)/chain0 $(INSTALLDIR) | |
19 | cd $(INSTALLDIR); chmod u+w boot0 | |
20 | ||
21 | clean:: | |
22 | rm -f $(SYMROOT)/boot0 $(SYMROOT)/chain0 | |
23 | ||
24 | include ../MakeInc.dir | |
25 | ||
26 | #dependencies | |
27 |