commit 4dcd2eb8878fe1efe0b44dbaa6f4fb94573bdfd1
parent 1129a57941d8de7c40c9efc2a38a0d521cda7349
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 27 Oct 2023 10:51:52 +0200
Updated test link edition
Add the library as a dependency of the tests that must be linked to it.
This forces make to rerun the linker if the library is changed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -155,5 +155,5 @@ test_svx_bintree_trace_ray \
test_svx_device \
test_svx_octree \
test_svx_octree_trace_ray \
-: config.mk svx-local.pc
+: config.mk svx-local.pc $(LIBNAME)
$(CC) $(CFLAGS_EXE) -o $@ src/$@.o $(LDFLAGS_EXE) $(SVX_LIBS) $(RSYS_LIBS) -lm