89c51f2223
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1072 6ac86273-5f31-0410-b378-82cca8765d1b
38 lines
903 B
Makefile
38 lines
903 B
Makefile
#
|
|
# makefile for DOS-C boot
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
!include "../mkfiles/generic.mak"
|
|
|
|
########################################################################
|
|
|
|
all: fat12.bin fat16.bin fat32chs.bin fat32lba.bin oemfat12.bin oemfat16.bin
|
|
|
|
fat12.bin: boot.asm $(DEPENDS)
|
|
$(NASM) -DISFAT12 boot.asm -l$*.lst -o$*.bin
|
|
|
|
fat16.bin: boot.asm $(DEPENDS)
|
|
$(NASM) -DISFAT16 boot.asm -l$*.lst -o$*.bin
|
|
|
|
fat32chs.bin: boot32.asm $(DEPENDS)
|
|
$(NASM) boot32.asm -l$*.lst -o$*.bin
|
|
|
|
fat32lba.bin: boot32lb.asm $(DEPENDS)
|
|
$(NASM) boot32lb.asm -l$*.lst -o$*.bin
|
|
|
|
oemfat12.bin: oemboot.asm $(DEPENDS)
|
|
$(NASM) -DISFAT12 oemboot.asm -l$*.lst -o$*.bin
|
|
|
|
oemfat16.bin: oemboot.asm $(DEPENDS)
|
|
$(NASM) -DISFAT16 oemboot.asm -l$*.lst -o$*.bin
|
|
|
|
########################################################################
|
|
|
|
clean:
|
|
-$(RM) *.bak *.cod *.crf *.err *.las *.lst *.map *.obj *.xrf
|
|
|
|
clobber: clean
|
|
-$(RM) *.bin status.me
|