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>
This commit is contained in:
H. Peter Anvin 2008-10-17 19:29:15 -07:00
parent 64fa04f019
commit 9a1f9f5ab6

View File

@ -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