bottleros/Bootloader/Pure64/Makefile

16 lines
337 B
Makefile

ASM=nasm
BMFS_MBR=bmfs_mbr.sys
PXESTART=pxestart.sys
PURE64=pure64.sys
all: bmfs_mbr.sys pxestart.sys pure64.sys
$(BMFS_MBR):
$(ASM) src/bootsectors/bmfs_mbr.asm -o $(BMFS_MBR)
$(PXESTART):
$(ASM) src/bootsectors/pxestart.asm -o $(PXESTART)
$(PURE64):
cd src; $(ASM) pure64.asm -o ../$(PURE64)
clean:
rm -rf *.sys
.PHONY: all clean