diff --git a/Makefile b/Makefile index f558602..11741ba 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ boot/%.bin: boot/%.asm fdimage.img: boot/floppy.bin kernel.bin dd if=/dev/zero bs=512 count=$$(( $(FD_CYLINDERS) * $(FD_HEADS) * $(FD_SECTORS) )) of=$@ mformat -i $@ -t $(FD_CYLINDERS) -h $(FD_HEADS) -n $(FD_SECTORS) -B boot/floppy.bin :: - mcopy -i fdimage.img kernel.bin ::boot.bin + mcopy -i $@ kernel.bin ::boot.bin clean: rm -f *.com *.bin *.img boot/*.bin