diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-16 22:44:43 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-16 22:44:43 -0400 |
commit | 892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb (patch) | |
tree | 85eb1cede24e5f9ec0498647c021ef7ff018007f /test | |
parent | d1904c6cbbebd86da948e69fcdb16c4c03239b1c (diff) | |
download | nasm-892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb.tar.gz nasm-892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb.tar.bz2 nasm-892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb.zip |
test/Makefile: add more output rules
Add more output rules to be able to try things quickly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index 0b81fc7..2dcf2eb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,11 +21,23 @@ TESTS = $(wildcard *.asm) $(NASM) $(NASMOPT) -f elf64 -o $@ -l $*.lst $< %.obj: %.asm $(NASM) + $(NASM) $(NASMOPT) -f obj -o $@ -l $*.lst $< + +%.coff: %.asm $(NASM) + $(NASM) $(NASMOPT) -f coff -o $@ -l $*.lst $< + +%.win32: %.asm $(NASM) $(NASM) $(NASMOPT) -f win32 -o $@ -l $*.lst $< -%.obj64: %.asm $(NASM) +%.win64: %.asm $(NASM) $(NASM) $(NASMOPT) -f win64 -o $@ -l $*.lst $< +%.mo32: %.asm $(NASM) + $(NASM) $(NASMOPT) -f macho32 -o $@ -l $*.lst $< + +%.mo64: %.asm $(NASM) + $(NASM) $(NASMOPT) -f macho64 -o $@ -l $*.lst $< + %.dbg: %.asm $(NASM) $(NASM) $(NASMOPT) -f dbg -o $@ -l $*.lst $< @@ -44,7 +56,8 @@ diff: performtest.pl $(NASM) $(TESTS) $(PERL) performtest.pl --diff --nasm='$(NASM)' $(TESTS) clean: - rm -f *.com *.o *.o64 *.obj *.obj64 *.exe *.lst *.bin + rm -f *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin + rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64 rm -rf testresults rm -f elftest elftest64 |