Make the macros table "unsigned char"
[nasm.git] / test / Makefile
blobcc11f0e4b242f1f8b8a863f9e7ef0dc208af0950
1 .SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst .pl
3 NASM = ../nasm
4 NASMOPT = -Ox -I../misc
5 PERL = perl
7 %.bin: %.asm $(NASM)
8 $(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $<
10 %.o: %.asm $(NASM)
11 $(NASM) $(NASMOPT) -f elf32 -o $@ -l $*.lst $<
13 %.o64: %.asm $(NASM)
14 $(NASM) $(NASMOPT) -f elf64 -o $@ -l $*.lst $<
16 %.obj: %.asm $(NASM)
17 $(NASM) $(NASMOPT) -f win32 -o $@ -l $*.lst $<
19 %.obj64: %.asm $(NASM)
20 $(NASM) $(NASMOPT) -f win64 -o $@ -l $*.lst $<
22 %.asm: %.pl
23 $(PERL) $< > $@
25 all:
27 clean:
28 rm -f *.com *.o *.o64 *.obj *.obj64 *.exe *.lst *.bin