aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-18 11:23:46 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-18 11:24:29 -0800
commite7f4e0e229a4b979f5d122f6c7c1e25e1524f21a (patch)
tree0cea7060a1d4886637ae5933bbf2eda63f3e0c2f
parentbc7f5fd93c55ef9fdb5e6c0ef7403a383bee841e (diff)
downloadnasm-e7f4e0e229a4b979f5d122f6c7c1e25e1524f21a.tar.gz
nasm-e7f4e0e229a4b979f5d122f6c7c1e25e1524f21a.tar.xz
nasm-e7f4e0e229a4b979f5d122f6c7c1e25e1524f21a.zip
test/Makefile: add .aout target
We had no target for generating an aout format file. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 7cba37ec..e7b4647e 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,4 @@
-.SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst .pl
+.SUFFIXES: .bin .o .o64 .aout .obj .obj64 .exe .asm .lst .pl
NASMDEP = ../nasm
NASM = ../nasm
@@ -26,6 +26,9 @@ $(NASM):
%.o64: %.asm $(NASMDEP)
$(NASM) $(NASMOPT) -f elf64 -o $@ -MD $@.dep -l $@.lst $<
+%.aout: %.asm $(NASMDEP)
+ $(NASM) $(NASMOPT) -f aout -o $@ -MD $@.dep -l $@.lst $<
+
%.obj: %.asm $(NASMDEP)
$(NASM) $(NASMOPT) -f obj -o $@ -MD $@.dep -l $@.lst $<
@@ -71,7 +74,7 @@ diff: performtest.pl $(NASMDEP) $(TESTS)
$(PERL) performtest.pl --diff --nasm='$(NASM)' $(TESTS)
clean:
- $(RM_F) *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin
+ $(RM_F) *.com *.o *.o64 *.aout *.obj *.win32 *.win64 *.exe *.lst *.bin
$(RM_F) *.dbg *.coff *.ith *.srec *.mo32 *.mo64 *.i *.dep *.rdf
$(RM_RF) testresults
$(RM_F) elftest elftest64