github.com/moontrade/mdbx-go@v0.4.0/Makefile (about)

     1  # This is thunk-Makefile for calling GNU Make 3.80 or above
     2  
     3  all help options \
     4  clean install install-no-strip install-strip strip tools uninstall \
     5  bench bench-clean bench-couple bench-quartet bench-triplet re-bench \
     6  lib libs lib-static lib-shared tools-static \
     7  libmdbx mdbx mdbx_chk mdbx_copy mdbx_drop mdbx_dump mdbx_load mdbx_stat \
     8  check dist memcheck cross-gcc cross-qemu doxygen gcc-analyzer reformat \
     9  release-assets tags test build-test mdbx_test smoke smoke-fault smoke-singleprocess \
    10  smoke-assertion test-assertion long-test-assertion \
    11  test-asan test-leak test-singleprocess test-ubsan test-valgrind:
    12  	@CC=$(CC) \
    13  	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` \
    14  	`which gmake || which gnumake || echo 'echo "GNU Make 3.80 or above is required"; exit 2;'` \
    15  		$(MAKEFLAGS) -f GNUmakefile $@