rdos/Makefile

15 lines
278 B
Makefile
Raw Normal View History

default: kernel.com
kernel.com: kernel/*.asm
2019-03-25 09:51:37 +01:00
nasm -s -o $@ -I kernel kernel/main.asm
vbr.bin: boot/vbr.asm
nasm -s -o $@ -I lib $<
fdimage.img: vbr.bin kernel.com
dd if=/dev/zero bs=512 count=720 of=$@
dd if=vbr.bin bs=512 count=1 conv=notrunc of=$@
clean:
rm -f *.com