1 .SUFFIXES
: .bin .o .o64 .obj .obj64 .exe .asm .lst .pl
4 NASMOPT
= -Ox
-I..
/misc
8 $(NASM
) $(NASMOPT
) -f bin
-o
$@
-l
$*.lst
$<
11 $(NASM
) $(NASMOPT
) -f elf32
-o
$@
-l
$*.lst
$<
14 $(NASM
) $(NASMOPT
) -f elf64
-o
$@
-l
$*.lst
$<
17 $(NASM
) $(NASMOPT
) -f win32
-o
$@
-l
$*.lst
$<
19 %.obj64
: %.asm
$(NASM
)
20 $(NASM
) $(NASMOPT
) -f win64
-o
$@
-l
$*.lst
$<
28 rm -f
*.com
*.o
*.o64
*.obj
*.obj64
*.exe
*.lst
*.bin