commit 00dc056897a367962cad94fa3b6b6b00ed491c58
parent a0e336c94d9a738f94a0bb02d607a085d7290d11
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 10:48:04 +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
@@ -159,5 +159,5 @@ $(TEST_DEP): config.mk htmie-local.pc
$(TEST_OBJ): config.mk htmie-local.pc
$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(HTMIE_CFLAGS) -c $(@:.o=.c) -o $@
-test_htmie test_htmie_load: config.mk htmie-local.pc
+test_htmie test_htmie_load: config.mk htmie-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(HTMIE_LIBS) -lm