2012-10-15 02:08:06 +02:00
|
|
|
#
|
|
|
|
# makefile for DOS-C boot
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
!include "../mkfiles/generic.mak"
|
|
|
|
|
|
|
|
production: fat12com.bin fat16com.bin fat32chs.bin fat32lba.bin oemfat12.bin oemfat16.bin
|
|
|
|
|
2024-02-07 00:10:28 +01:00
|
|
|
fat12com.bin: boot.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) -dISFAT12 $(NASMBOOTFLAGS) boot.asm -lfat12com.lst -ofat12com.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
2024-02-07 00:10:28 +01:00
|
|
|
fat16com.bin: boot.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) -dISFAT16 $(NASMBOOTFLAGS) boot.asm -lfat16com.lst -ofat16com.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
2024-02-07 00:18:22 +01:00
|
|
|
fat32chs.bin: boot32.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) $(NASMBOOTFLAGS) boot32.asm -lfat32chs.lst -ofat32chs.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
2024-02-07 00:18:22 +01:00
|
|
|
fat32lba.bin: boot32lb.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) $(NASMBOOTFLAGS) boot32lb.asm -lfat32lba.lst -ofat32lba.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
2024-02-07 00:39:37 +01:00
|
|
|
oemfat12.bin: oemboot.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) -dISFAT12 $(NASMBOOTFLAGS) oemboot.asm -loemfat12.lst -ooemfat12.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
2024-02-07 00:39:37 +01:00
|
|
|
oemfat16.bin: oemboot.asm magic.mac
|
2024-02-07 01:03:08 +01:00
|
|
|
$(NASM) -dISFAT16 $(NASMBOOTFLAGS) oemboot.asm -loemfat16.lst -ooemfat16.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
|
|
|
clobber: clean
|
|
|
|
-$(RM) *.bin status.me
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-$(RM) *.lst *.map *.bak *.obj
|
|
|
|
|