summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-26 16:14:31 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-26 16:14:31 -0700
commit47d207d1a3ea9197ef6c55b881fa56f14882a34f (patch)
tree091f8b2f0a48104c1ad4280f09f3b4644e607160
parenteb571a3ac387a721d52fdab448da7c8768bdaa18 (diff)
downloadnasm-47d207d1a3ea9197ef6c55b881fa56f14882a34f.tar.gz
test: add Makefile target for elfx32
Add an .ox Makefile target for an ELFx32 object. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 2e343ee1..e09e1148 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -23,6 +23,9 @@ $(NASM):
%.o: %.asm $(NASMDEP)
$(NASM) $(NASMOPT) -f elf32 -gdwarf -o $@ -MD $@.dep -l $@.lst $<
+%.ox: %.asm $(NASMDEP)
+ $(NASM) $(NASMOPT) -f elfx32 -gdwarf -o $@ -MD $@.dep -l $@.lst $<
+
%.o64: %.asm $(NASMDEP)
$(NASM) $(NASMOPT) -f elf64 -gdwarf -o $@ -MD $@.dep -l $@.lst $<