Skip to content

Commit 481c77e

Browse files
committed
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.
1 parent 78ee225 commit 481c77e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,16 @@ $(SHARED3): $(LIBOBJECTS)
132132

133133
endif # PLATFORM_SHARED_EXT
134134

135-
all: $(LIBRARY) $(PROGRAMS) $(SHARED)
135+
all: $(LIBRARY) $(PROGRAMS)
136136

137137
.PHONY: blackbox_crash_test check clean coverage crash_test ldb_tests \
138138
release tags valgrind_check whitebox_crash_test format
139139

140+
# Will also generate shared libraries.
140141
release:
141142
$(MAKE) clean
142-
OPT=-DNDEBUG $(MAKE) -j32
143+
OPT=-DNDEBUG $(MAKE) all -j32
144+
OPT=-DNDEBUG $(MAKE) $(SHARED) -j32
143145

144146
coverage:
145147
$(MAKE) clean

0 commit comments

Comments
 (0)