TARGETS = floppy.img boot.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 floppy.img: dd if=/dev/zero of=floppy.img bs=512 count=2880 clean: rm -rf $(TARGETS) all: $(TARGETS)