2020-09-20 18:07:33 +03:00
|
|
|
# This is thunk-Makefile for calling GNU Make 3.80 or above
|
|
|
|
|
2021-05-01 01:02:28 +03:00
|
|
|
all help options \
|
|
|
|
clean install install-no-strip install-strip strip tools uninstall \
|
|
|
|
bench bench-clean bench-couple bench-quartet bench-triplet re-bench \
|
|
|
|
lib libmdbx mdbx mdbx_chk mdbx_copy mdbx_drop mdbx_dump mdbx_load mdbx_stat \
|
|
|
|
check dist memcheck cross-gcc cross-qemu doxygen gcc-analyzer reformat \
|
2021-07-19 20:17:03 +03:00
|
|
|
release-assets tags test build-test mdbx_test smoke smoke-fault smoke-singleprocess \
|
|
|
|
test-asan test-leak test-singleprocess test-ubsan test-valgrind:
|
2019-11-09 15:15:25 +03:00
|
|
|
@CC=$(CC) \
|
|
|
|
CXX=`if test -n "$(CXX)" && which "$(CXX)" > /dev/null; then echo "$(CXX)"; elif test -n "$(CCC)" && which "$(CCC)" > /dev/null; then echo "$(CCC)"; else echo "c++"; fi` \
|
2020-09-20 18:07:33 +03:00
|
|
|
`which gmake || which gnumake || echo 'echo "GNU Make 3.80 or above is required"; exit 2;'` \
|
2019-11-09 15:15:25 +03:00
|
|
|
$(MAKEFLAGS) -f GNUmakefile $@
|