mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-08 01:42:23 +08:00
mdbx-build: SunOS/Solaris/OpenIndiana support, etc.
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,3 +1,5 @@
|
||||
all check test dist: Makefile
|
||||
@CC=$(CC) CXX=$(CXX) `which gmake || which gnumake || echo 'echo "GNU Make is required"'` $(MAKEFLAGS) -f GNUmakefile $@
|
||||
|
||||
@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` \
|
||||
`which gmake || which gnumake || echo 'echo "GNU Make is required"; exit 2;'` \
|
||||
$(MAKEFLAGS) -f GNUmakefile $@
|
||||
|
Reference in New Issue
Block a user