commit 1541bbb69eaaeb6c1261d3086c49ec23f8c8bebd
parent 9a34450b66d973842e13827a996f08b9f30f0dad
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 17:15:47 +0200
Fix the Makefile target used to link tests
This target must depend on the htmie library to force its execution in
the event of a library change.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -164,5 +164,5 @@ $(TEST_DEP): config.mk rngrd-local.pc
src/test_rngrd.o: config.mk rngrd-local.pc
$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(RNGRD_CFLAGS) -c $(@:.o=.c) -o $@
-test_rngrd: src/test_rngrd.o config.mk rngrd-local.pc
+test_rngrd: src/test_rngrd.o config.mk rngrd-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(RNGRD_LIBS)