]>
Commit | Line | Data |
---|---|---|
f083c6c3 A |
1 | |
2 | DIR = cdboot | |
3 | include ../MakePaths.dir | |
4 | ||
5 | NASM = $(SYMROOT)/nasm | |
6 | INSTALLDIR = $(DSTROOT)/usr/standalone/i386 | |
7 | DIRS_NEEDED = $(SYMROOT) | |
8 | ||
9 | all: $(DIRS_NEEDED) cdboot | |
10 | ||
11 | cdboot: cdboot.s $(SYMROOT)/boot Makefile $(NASM) | |
12 | $(NASM) cdboot.s -o $(SYMROOT)/cdboot | |
13 | dd if=$(SYMROOT)/boot of=$(SYMROOT)/cdboot conv=sync bs=2k seek=1 | |
14 | ||
15 | biostest: biostest.asm Makefile $(NASM) | |
16 | $(NASM) biostest.asm -o $(SYMROOT)/$@ | |
17 | ||
18 | install_i386:: all $(INSTALLDIR) | |
19 | cp $(SYMROOT)/cdboot $(INSTALLDIR) | |
20 | cd $(INSTALLDIR); chmod u+w cdboot | |
21 | ||
22 | include ../MakeInc.dir | |
23 | ||
24 | #dependencies | |
25 |