summaryrefslogtreecommitdiff
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-03 21:19:37 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-03 21:19:37 -0700
commit06c05ae72a4cf04bb57aa94601f5a65bfaea706b (patch)
tree9c2218eedc9bdb440e67cb5a9a203a14ce3499c4 /rdoff
parent20c1d4136da9ed8a4ef00b55bd398a5ec07f9a9b (diff)
downloadnasm-06c05ae72a4cf04bb57aa94601f5a65bfaea706b.tar.gz
nasm-06c05ae72a4cf04bb57aa94601f5a65bfaea706b.tar.bz2
nasm-06c05ae72a4cf04bb57aa94601f5a65bfaea706b.zip
rdoff/test/Makefile: actually do build tests
Add actual Makefile rules for the rdoff tests. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/test/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/rdoff/test/Makefile b/rdoff/test/Makefile
index 8e9f42e..658a6d4 100644
--- a/rdoff/test/Makefile
+++ b/rdoff/test/Makefile
@@ -1,2 +1,10 @@
+RDT = $(patsubst %.asm,%.rdf,$(wildcard *.asm))
+NASM = ../../nasm
+
+all: $(RDT)
+
+%.rdf: %.asm
+ $(NASM) -f rdf -o $@ -l $*.lst $<
+
clean:
- rm -f *.rdf *.rdx
+ rm -f *.rdf *.rdx *.lst