12 lines
No EOL
269 B
Makefile
12 lines
No EOL
269 B
Makefile
floppy: out bootloader
|
|
mkfs.fat -C -f 1 -F 12 -n "PORTLAND OS" -R 2 -S 512 out/floppy.img 1440
|
|
dd if=obj/bootloader.bin of=out/floppy.img bs=1 seek=62 conv=notrunc
|
|
|
|
bootloader: obj
|
|
nasm src/bootloader.bin -o obj/bootloader.bin
|
|
|
|
obj:
|
|
mkdir -p obj
|
|
|
|
out:
|
|
mkdir -p out
|