commit a532480b03c515572fa8a71ec18ed82dbade45ff
parent 054bac4c438db23c83aeee2b826db944cd6315f4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 19 Jul 2023 11:10:51 +0200
Update the Makefile target of the tests
The tests depend on the linker flags set in the config.mk file. This
dependency is not really necessary since these executables depend on
their object file which themselves depend on the config.mk file. So in
any case, their linking would be redone even without this change which
in all rigor remains necessary
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -137,5 +137,5 @@ $(TEST_DEP):
$(TEST_OBJ): config.mk polygon-local.pc
$(CC) $(CFLAGS) $(POLYGON_CFLAGS) $(RSYS_CFLAGS) -c $(@:.o=.c) -o $@
-test_polygon test_polygon1: polygon-local.pc
+test_polygon test_polygon1: config.mk polygon-local.pc
$(CC) -o $@ src/$@.o $(LDFLAGS) $(POLYGON_LIBS) $(RSYS_LIBS) -lm