default: kernel.com boot.bin: kernel/*.asm nasm -s -o $@ -I kernel kernel/main.asm %.bin: boot/%.asm nasm -s -o $@ -I lib $< fdimage.img: fat12vbr.bin boot.bin dd if=/dev/zero bs=512 count=720 of=$@ mformat -i $@ -f 360 -B fat12vbr.bin :: mcopy -i fdimage.img boot.bin ::boot.bin clean: rm -f *.com *.bin *.img