summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-09-27 15:53:48 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-09-27 15:53:48 -0700
commit59d5291a3a3390d729456b9ec40dcaf42eb05ea7 (patch)
tree0496f1dfef874ca70824cd588b9acd57d3d51fd4
parente5804662540e6e56c74a2bd07ccc7a0238fe6cb6 (diff)
downloadnasm-59d5291a3a3390d729456b9ec40dcaf42eb05ea7.tar.gz
test: add Makefile target for RDOFF files
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--.gitignore1
-rw-r--r--test/Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 144f204a..afdd62cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@
*.orig
*.out
*.pdb
+*.rdf
*.rej
*.s
*.srec
diff --git a/test/Makefile b/test/Makefile
index 7a6dfe24..ebd8c3f3 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -29,6 +29,9 @@ $(NASM):
%.obj: %.asm $(NASMDEP)
$(NASM) $(NASMOPT) -f obj -o $@ -MD $@.dep -l $*.lst $<
+%.rdf: %.asm $(NASMDEP)
+ $(NASM) $(NASMOPT) -f rdf -o $@ -MD $@.dep -l $*.lst $<
+
%.od: %.obj ../misc/omfdump
../misc/omfdump $< > $@
@@ -69,7 +72,7 @@ diff: performtest.pl $(NASMDEP) $(TESTS)
clean:
$(RM_F) *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin
- $(RM_F) *.dbg *.coff *.ith *.srec *.mo32 *.mo64 *.i *.dep
+ $(RM_F) *.dbg *.coff *.ith *.srec *.mo32 *.mo64 *.i *.dep *.rdf
$(RM_RF) testresults
$(RM_F) elftest elftest64