Makefile 252 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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)