diff --git a/Makefile b/Makefile index 8a72960..fa2869c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ -TARGETS = floppy.img boot.bin +TARGETS = boot_floppy.bin boot_usb.bin -boot.bin: boot.asm - nasm boot.asm -f bin -o boot.bin - dd if=boot.bin of=floppy.img bs=512 count=1 conv=notrunc +boot_floppy.bin: boot_floppy.asm floppy.img + nasm boot_floppy.asm -f bin -o boot_floppy.bin + dd if=boot_floppy.bin of=floppy.img bs=512 count=1 conv=notrunc + +boot_usb.bin: boot_usb.asm + nasm boot_usb.asm -f bin -o boot_usb.bin floppy.img: dd if=/dev/zero of=floppy.img bs=512 count=2880 diff --git a/boot.asm b/boot_floppy.asm index a3b4f86..a3b4f86 100644 --- a/boot.asm +++ b/boot_floppy.asm diff --git a/boot.bin b/boot_floppy.bin index 4444e84..4444e84 100644 --- a/boot.bin +++ b/boot_floppy.bin