--- a/Makefile Mon Dec 18 18:54:17 2023 +0100 +++ b/Makefile Wed Dec 20 16:46:14 2023 +0100 @@ -23,7 +23,7 @@ include config.mk -all: compile +all: compile test-compile install: @cd src && $(MAKE) install @@ -57,11 +57,10 @@ @cd src && $(MAKE) static check: test-compile FORCE - test "$(WITH_TESTS)" = "yes" && $(build_dir)/tests/ucxtest + $(build_dir)/tests/ucxtest test-compile: - @(test "$(WITH_TESTS)" = "yes" && cd tests && $(MAKE)) \ - || echo "[ Tests disabled - skipped ]" + cd tests && $(MAKE) docs: FORCE @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \ @@ -71,5 +70,6 @@ update-rules: make/update-rules.sh src + CFLAGS='$(CFLAGS) -I../src' make/update-rules.sh tests '$$(TEST_DIR)' FORCE: