提交 481c77e5 编写于 作者: K kailiu

Move the compilation of the shared libraries to "make release"

Compiling the shared libraries took a long time. Thus to speed up the development speed, it still makes sense to be separated from regular compilation.
上级 78ee2250
......@@ -132,14 +132,16 @@ $(SHARED3): $(LIBOBJECTS)
endif # PLATFORM_SHARED_EXT
all: $(LIBRARY) $(PROGRAMS) $(SHARED)
all: $(LIBRARY) $(PROGRAMS)
.PHONY: blackbox_crash_test check clean coverage crash_test ldb_tests \
release tags valgrind_check whitebox_crash_test format
# Will also generate shared libraries.
release:
$(MAKE) clean
OPT=-DNDEBUG $(MAKE) -j32
OPT=-DNDEBUG $(MAKE) all -j32
OPT=-DNDEBUG $(MAKE) $(SHARED) -j32
coverage:
$(MAKE) clean
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册