Fix Makefile
This commit is contained in:
parent
9a6ecabfd7
commit
781366a4a4
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user