1.1 --- a/Makefile Mon Dec 18 18:54:17 2023 +0100 1.2 +++ b/Makefile Wed Dec 20 16:46:14 2023 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 1.5 include config.mk 1.6 1.7 -all: compile 1.8 +all: compile test-compile 1.9 1.10 install: 1.11 @cd src && $(MAKE) install 1.12 @@ -57,11 +57,10 @@ 1.13 @cd src && $(MAKE) static 1.14 1.15 check: test-compile FORCE 1.16 - test "$(WITH_TESTS)" = "yes" && $(build_dir)/tests/ucxtest 1.17 + $(build_dir)/tests/ucxtest 1.18 1.19 test-compile: 1.20 - @(test "$(WITH_TESTS)" = "yes" && cd tests && $(MAKE)) \ 1.21 - || echo "[ Tests disabled - skipped ]" 1.22 + cd tests && $(MAKE) 1.23 1.24 docs: FORCE 1.25 @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \ 1.26 @@ -71,5 +70,6 @@ 1.27 1.28 update-rules: 1.29 make/update-rules.sh src 1.30 + CFLAGS='$(CFLAGS) -I../src' make/update-rules.sh tests '$$(TEST_DIR)' 1.31 1.32 FORCE: