commit 2159f295ea8bb7e5c6eb9effcccaa76c85faa911
parent 06f828b93a002a31aa3a2a02f39b8c5be3fe6b6f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 27 Oct 2023 12:23:49 +0200
Fix inclusion of dependencies for optional tests
The dependency file for optional test, i.e. this that depend on
Star-Mesh, was included without being defined as a dependency of the
build_tests target. They were not generated and were therefore not
included correctly.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -134,7 +134,8 @@ SUVM_CFLAGS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --cflags suvm-local.pc)
SUVM_LIBS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs suvm-local.pc)
build_tests: build_library $(TEST_DEP) .test
- @$(MAKE) -fMakefile -f.test \
+ @if $(SMSH_FOUND); then $(MAKE) src/suvm_voxelize.d; fi; \
+ $(MAKE) -fMakefile -f.test \
$$(for i in $(TEST_DEP); do echo -f"$${i}"; done) \
$$($(SMSH_FOUND) && echo "-fsrc/suvm_voxelize.d") \
test_bin