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.
This commit is contained in:
kailiu 2014-01-14 13:54:33 -08:00
parent 78ee22508b
commit 481c77e526

View File

@ -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