make/makefile.mk

changeset 988
15b3ca7ee33f
parent 791
945ee9bf2dd1
equal deleted inserted replaced
987:53e22f112b11 988:15b3ca7ee33f
57 $(build_dir)/tests/ucxtest 57 $(build_dir)/tests/ucxtest
58 58
59 test-compile: static FORCE 59 test-compile: static FORCE
60 cd tests && $(MAKE) 60 cd tests && $(MAKE)
61 61
62 check-cxx: CXX-AVAILABLE clean test-compile-cxx FORCE
63 $(build_dir)/tests/ucxtest
64
65 test-compile-cxx: static FORCE
66 cd tests && $(MAKE) CC=$(CXX) CFLAGS="$(CFLAGS) $(CXXFLAGS)"
67
68 CXX-AVAILABLE:
69 test -n "$(WITH_CXX_TEST)"
70
62 docs: FORCE 71 docs: FORCE
63 @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \ 72 @(test "$(WITH_DOCS_API)" = "yes" && cd docs && $(MAKE) all-api) \
64 || echo "[ Generation of API Docs disabled - skipped ]" 73 || echo "[ Generation of API Docs disabled - skipped ]"
65 @(test "$(WITH_DOCS_HTML)" = "yes" && cd docs && $(MAKE) all-html) \ 74 @(test "$(WITH_DOCS_HTML)" = "yes" && cd docs && $(MAKE) all-html) \
66 || echo "[ Generation of HTML Docs disabled - skipped ]" 75 || echo "[ Generation of HTML Docs disabled - skipped ]"
67 76
68 update-rules: FORCE 77 update-rules: FORCE
69 make/update-rules.sh src 78 make/update-rules.sh src
70 CFLAGS='$(CFLAGS) -I../src' make/update-rules.sh tests '$$(TEST_DIR)' 79 make/update-rules.sh tests '$$(TEST_DIR)' '-I../src'
71 80
72 FORCE: 81 FORCE:

mercurial