commit 1418b03eea22a05421341621b51b36ac8e123208
parent 7daa7d50e7ba0509b91042443ea2d15794a3d0a2
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 13 Oct 2023 10:10:35 +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, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -143,8 +143,8 @@ $(TEST_DEP): config.mk sck-local.pc
$(TEST_OBJ): config.mk sck-local.pc
$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(SCK_CFLAGS) -c $(@:.o=.c) -o $@
-test_sck: config.mk sck-local.pc
+test_sck: config.mk sck-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(SCK_LIBS)
-test_sck_load: config.mk sck-local.pc
+test_sck_load: config.mk sck-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(SCK_LIBS) -lm