commit b90f0499dd3295d6a9847a810c5230027a6c8a0b
parent f195705a0ecd01fe515dc1899c52031aa1c256c6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 19 Oct 2023 12:18:23 +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
@@ -176,5 +176,5 @@ test_ssp_ran_triangle \
test_ssp_ran_uniform_disk \
test_ssp_rng \
test_ssp_rng_proxy \
-: config.mk star-sp-local.pc
+: config.mk star-sp-local.pc $(LIBNAME)
$(CC) $(CFLAGS) -o $@ src/$@.o $(LDFLAGS_EXE) $(SSP_LIBS) $(RSYS_LIBS) -lm