2020-09-20 23:07:33 +08:00
|
|
|
# This is thunk-Makefile for calling GNU Make 3.80 or above
|
|
|
|
|
2020-07-12 03:27:29 +08:00
|
|
|
all bench bench-quartet build-test check clean clean-bench cross-gcc cross-qemu dist doxygen gcc-analyzer install mdbx memcheck reformat release-assets strip test test-asan test-fault test-leak test-singleprocess test-ubsan test-valgrind tools:
|
2019-11-09 20:15:25 +08: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 23:07:33 +08:00
|
|
|
`which gmake || which gnumake || echo 'echo "GNU Make 3.80 or above is required"; exit 2;'` \
|
2019-11-09 20:15:25 +08:00
|
|
|
$(MAKEFLAGS) -f GNUmakefile $@
|