summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-17 19:29:15 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-17 19:29:15 -0700
commit9a1f9f5ab6394279b5f8f0b5466184694a2dc2ba (patch)
tree91879f03518817adb6a4c4cf44bdf15056e92b14
parent64fa04f0199cdab91ee5dea3d29dd8a6970edde3 (diff)
downloadnasm-9a1f9f5ab6394279b5f8f0b5466184694a2dc2ba.tar.gz
test/Makefile: the elftest objects depend on $(NASM)
If NASM has changed, we logically want to re-run the ELF tests... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index dda674a4..c32d9d08 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -45,7 +45,7 @@ spotless: clean
#
# Test for ELF32 shared libraries; assumes an x86 Linux system
#
-elfso.o: elfso.asm
+elfso.o: elfso.asm $(NASM)
$(NASM) $(NASMOPT) -f elf32 -o $@ -l $*.lst $<
elfso.so: elfso.o
@@ -58,7 +58,7 @@ elftest: elftest.c elfso.so
#
# Test for ELF64 shared libraries; assumes an x86-64 Linux system
#
-elf64so.o: elf64so.asm
+elf64so.o: elf64so.asm $(NASM)
$(NASM) $(NASMOPT) -f elf64 -o $@ -l $*.lst $<
elf64so.so: elf64so.o