]> git.saurik.com Git - apple/boot.git/blame - i386/cdboot/Makefile
boot-111.tar.gz
[apple/boot.git] / i386 / cdboot / Makefile
CommitLineData
f083c6c3
A
1
2DIR = cdboot
3include ../MakePaths.dir
4
5NASM = $(SYMROOT)/nasm
6INSTALLDIR = $(DSTROOT)/usr/standalone/i386
7DIRS_NEEDED = $(SYMROOT)
8
9all: $(DIRS_NEEDED) cdboot
10
11cdboot: 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
15biostest: biostest.asm Makefile $(NASM)
16 $(NASM) biostest.asm -o $(SYMROOT)/$@
17
18install_i386:: all $(INSTALLDIR)
19 cp $(SYMROOT)/cdboot $(INSTALLDIR)
20 cd $(INSTALLDIR); chmod u+w cdboot
21
22include ../MakeInc.dir
23
24#dependencies
25