only create list file if requested, avoids error due to duplicated command line option for generating list file

This commit is contained in:
Kenneth J Davis 2023-12-17 22:10:32 -05:00
parent cfdd09963f
commit b79f0003ac
No known key found for this signature in database
GPG Key ID: 59D5F216C38F11FD

View File

@ -8,22 +8,22 @@
production: fat12com.bin fat16com.bin fat32chs.bin fat32lba.bin oemfat12.bin oemfat16.bin
fat12com.bin: boot.asm
$(NASM) -dISFAT12 $(NASMFLAGS) boot.asm -l$*.lst -ofat12com.bin
$(NASM) -dISFAT12 $(NASMFLAGS) boot.asm -ofat12com.bin
fat16com.bin: boot.asm
$(NASM) -dISFAT16 $(NASMFLAGS) boot.asm -l$*.lst -ofat16com.bin
$(NASM) -dISFAT16 $(NASMFLAGS) boot.asm -ofat16com.bin
fat32chs.bin: boot32.asm
$(NASM) $(NASMFLAGS) boot32.asm -l$*.lst -ofat32chs.bin
$(NASM) $(NASMFLAGS) boot32.asm -ofat32chs.bin
fat32lba.bin: boot32lb.asm
$(NASM) $(NASMFLAGS) boot32lb.asm -l$*.lst -ofat32lba.bin
$(NASM) $(NASMFLAGS) boot32lb.asm -ofat32lba.bin
oemfat12.bin: oemboot.asm
$(NASM) -dISFAT12 $(NASMFLAGS) oemboot.asm -l$*.lst -ooemfat12.bin
$(NASM) -dISFAT12 $(NASMFLAGS) oemboot.asm -ooemfat12.bin
oemfat16.bin: oemboot.asm
$(NASM) -dISFAT16 $(NASMFLAGS) oemboot.asm -l$*.lst -ooemfat16.bin
$(NASM) -dISFAT16 $(NASMFLAGS) oemboot.asm -ooemfat16.bin
clobber: clean
-$(RM) *.bin status.me