diff --git a/Makefile b/Makefile index 7cec100..0ef9e4b 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,12 @@ default: kernel.com boot.bin: kernel/*.asm nasm -s -o $@ -I kernel kernel/main.asm -vbr.bin: boot/vbr.asm +%.bin: boot/%.asm nasm -s -o $@ -I lib $< -fdimage.img: vbr.bin boot.bin +fdimage.img: fat12vbr.bin boot.bin dd if=/dev/zero bs=512 count=720 of=$@ - mformat -i $@ -f 360 -B vbr.bin :: + mformat -i $@ -f 360 -B fat12vbr.bin :: mcopy -i fdimage.img boot.bin ::boot.bin clean: diff --git a/boot/vbr.asm b/boot/fat12vbr.asm similarity index 100% rename from boot/vbr.asm rename to boot/fat12vbr.asm