mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-23 17:29:23 +08:00
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:
parent
64fa04f019
commit
9a1f9f5ab6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user