rdos/Makefile

14 lines
218 B
Makefile

default: kernel.com
kernel.com: kernel/*.asm
nasm -s -o $@ -I kernel kernel/main.asm
vbr.bin: boot/vbr.asm
nasm -s -o $@ -I lib $<
fdimage.img: vbr.bin kernel.com
cat vbr.bin kernel.com > $@
clean:
rm -f *.com