summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-04 15:18:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-04 15:18:23 -0700
commitb8e604eb5d397a956ec370da5ee47368a847e367 (patch)
tree84cb83c0e46a6a2511ccbf99c45962446716f1b1 /test
parent9d637df6daa2f079ac3cd7623ab6694e4692d1b9 (diff)
downloadnasm-b8e604eb5d397a956ec370da5ee47368a847e367.tar.gz
nasm-b8e604eb5d397a956ec370da5ee47368a847e367.tar.bz2
nasm-b8e604eb5d397a956ec370da5ee47368a847e367.zip
Additional rules in test/Makefile
Add rules for .pl -> .asm
Diffstat (limited to 'test')
-rw-r--r--test/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index bd42435..64b6523 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,8 @@
-.SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst
+.SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst .pl
NASM = ../nasm
NASMOPT = -O999 -I../misc
+PERL = perl
%.bin: %.asm $(NASM)
$(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $<
@@ -18,6 +19,9 @@ NASMOPT = -O999 -I../misc
%.obj64: %.asm $(NASM)
$(NASM) $(NASMOPT) -f win64 -o $@ -l $*.lst $<
+%.asm: %.pl
+ $(PERL) $< > $@
+
all:
clean: