2019-03-24 19:30:49 +01:00
|
|
|
default: kernel.com
|
|
|
|
|
|
|
|
kernel.com: kernel/*.asm
|
2019-03-25 09:51:37 +01:00
|
|
|
nasm -s -o $@ -I kernel kernel/main.asm
|
|
|
|
|
|
|
|
vbr.bin: boot/vbr.asm
|
|
|
|
nasm -s -o $@ -I lib $<
|
|
|
|
|
|
|
|
fdimage.img: vbr.bin kernel.com
|
|
|
|
dd if=/dev/zero bs=512 count=720 of=$@
|
|
|
|
dd if=vbr.bin bs=512 count=1 conv=notrunc of=$@
|
2019-03-24 19:30:49 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.com
|