From 892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 16 Jul 2009 22:44:43 -0400 Subject: [PATCH] test/Makefile: add more output rules Add more output rules to be able to try things quickly. Signed-off-by: H. Peter Anvin --- test/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index 0b81fc79..2dcf2ebd 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 -- 2.11.4.GIT