commit 7afc68de0af43e6243ab9a914b6e3a6fa19d7d0c
parent 49b90bdd15f6a8e78f040f419b08605bb70b91a6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 11 Apr 2025 11:45:05 +0200
Fix the Makefile
The test target was badly written and worked "by magic" with GNU make.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -152,7 +152,7 @@ LIBS_TEST = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs rsys sstl-local)
CFLAGS_TEST = -std=c89 $(CFLAGS_EXE) $(INCS_TEST)
LDFLAGS_TEST = $(LDFLAGS_EXE) $(LIBS_TEST) -lm
-tests: library $(TEST_DEP)
+tests: library $(TEST_DEP) $(TEST_TGT)
@$(MAKE) -fMakefile \
$$(for i in $(TEST_DEP); do echo -f"$${i}"; done) \
$$(for i in $(TEST_TGT); do echo -f"$${i}"; done) \