2024-04-04 10:13:02 +00:00
|
|
|
TARGET = boot_floppy1440.bin \
|
2024-04-14 05:35:43 +00:00
|
|
|
boot_floppy2880.bin \
|
|
|
|
boot_mbr.bin
|
2024-03-24 08:03:03 +00:00
|
|
|
|
|
|
|
FLOPPY_SRCS = floppy.asm \
|
|
|
|
../common/const.inc \
|
|
|
|
../common/fat12.inc
|
|
|
|
|
2024-04-14 05:35:43 +00:00
|
|
|
MBR_SRCS = mbr.asm \
|
|
|
|
../common/const.inc \
|
|
|
|
../common/fat12.inc
|
|
|
|
|
2024-03-24 08:03:03 +00:00
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
|
2024-04-04 10:13:02 +00:00
|
|
|
boot_floppy1440.bin: $(FLOPPY_SRCS)
|
2024-03-24 08:03:03 +00:00
|
|
|
$(AS) floppy.asm $@
|
|
|
|
|
2024-04-04 10:13:02 +00:00
|
|
|
boot_floppy2880.bin: $(FLOPPY_SRCS)
|
|
|
|
$(AS) -DFLOPPY_SIZE=FLOPPY_2880 floppy.asm $@
|
|
|
|
|
2024-04-14 05:35:43 +00:00
|
|
|
boot_mbr.bin: $(MBR_SRCS)
|
|
|
|
$(AS) mbr.asm $@
|
|
|
|
|
2024-03-24 08:03:03 +00:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(RM) $(TARGET)
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install: $(TARGET)
|