Fix Makefile

This commit is contained in:
Nero 2019-03-31 20:53:33 +00:00
parent 9a6ecabfd7
commit 781366a4a4

View File

@ -13,7 +13,7 @@ boot/%.bin: boot/%.asm
fdimage.img: boot/floppy.bin kernel.bin fdimage.img: boot/floppy.bin kernel.bin
dd if=/dev/zero bs=512 count=$$(( $(FD_CYLINDERS) * $(FD_HEADS) * $(FD_SECTORS) )) of=$@ 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 :: 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: clean:
rm -f *.com *.bin *.img boot/*.bin rm -f *.com *.bin *.img boot/*.bin