mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-04 21:09:19 +08:00
22 lines
413 B
Makefile
22 lines
413 B
Makefile
|
|
# make BUILD_WITH_C11=YES; or make
|
|
#
|
|
ifeq ($(BUILD_WITH_C11), YES)
|
|
BUILD_ARGS = -DBUILD_WITH_C11=YES
|
|
else
|
|
BUILD_ARGS = -DBUILD_WITH_C11=NO
|
|
endif
|
|
|
|
BUILD_ARGS += -DCMAKE_VERBOSE_MAKEFILE=ON
|
|
#BUILD_ARGS += -DHAS_ROCKSDB=YES
|
|
#BUILD_ARGS += -DHAS_WT=YES
|
|
BUILD_ARGS += -DHAS_JEMALLOC=YES
|
|
|
|
all:
|
|
@(mkdir -p build; cd build; cmake ${BUILD_ARGS} ..; make -j 4)
|
|
|
|
clean cl:
|
|
@(rm -rf build pkv)
|
|
|
|
rebuild rb: cl all
|