commit 10d860f9f9d3555e8cb8261acc0ad9eabc05fe6d
parent 7630c44a8c4b927c5f78763b35db8695e7f5a734
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Oct 2023 11:28:08 +0200
Fix the Makefile targets used to link tests
These targets 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
@@ -137,8 +137,8 @@ $(TEST_DEP): config.mk sars-local.pc
$(TEST_OBJ): config.mk sars-local.pc
$(CC) $(CFLAGS) $(RSYS_CFLAGS) $(SARS_CFLAGS) -c $(@:.o=.c) -o $@
-test_sars: config.mk sars-local.pc
+test_sars: config.mk sars-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(SARS_LIBS)
-test_sars_load: config.mk sars-local.pc
+test_sars_load: config.mk sars-local.pc $(LIBNAME)
$(CC) -o $@ src/$@.o $(RSYS_LIBS) $(SARS_LIBS) -lm