1 2 3 4 5
TARGETS = floppy.img boot.bin boot.bin: boot.asm nasm boot.asm -f bin -o boot.bin
6
dd if=boot.bin of=floppy.img bs=512 count=1 conv=notrunc
7 8 9 10 11 12 13 14 15
floppy.img: dd if=/dev/zero of=floppy.img bs=512 count=2880 clean: rm -rf $(TARGETS) all: $(TARGETS)