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