commit e364e2a4dc6cd8ede5c192fcd6640e16bd9534ed
parent f6df3f34ef9620bbc51d32e5c204c6238898021b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 18 Oct 2023 15:23:39 +0200
Fix the Makefile targets used to link tests
These targets must depend on the built library to force its execution in
the event of a library change.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -222,10 +222,10 @@ test_soa8f3 \
test_soa8f4 \
test_v4f \
test_v4i \
-: config.mk rsimd-local.pc
+: config.mk rsimd-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) -o $@ src/$@.o $(LDFLAGS_EXE) $(RSIMD_LIBS) $(RSYS_LIBS)
test_math4 \
test_math8 \
-: config.mk rsimd-local.pc
+: config.mk rsimd-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) -o $@ src/$@.o $(LDFLAGS_EXE) $(RSIMD_LIBS) $(RSYS_LIBS) -lm