.gitignore file doesn't need to be in the release file
[nasm.git] / test / Makefile
blob64b652314e788454c6d9a5053b9c1dbf9a249843
1 .SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst .pl
3 NASM = ../nasm
4 NASMOPT = -O999 -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