Build static library
This commit is contained in:
parent
4ab3dc1b29
commit
9e75356509
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ $(LIB_DYNAMIC): $(LIB_OBJS)
|
||||||
-o $(LIB_DYNAMIC) \
|
-o $(LIB_DYNAMIC) \
|
||||||
$(LIB_OBJS) $(LIBS_LIB)
|
$(LIB_OBJS) $(LIBS_LIB)
|
||||||
|
|
||||||
|
$(LIB_STATIC): $(LIB_OBJS)
|
||||||
|
ar crD $(LIB_STATIC) $(LIB_OBJS)
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
$(TEST_SUITES): $(OUTDIR)/test-%: $(OUTDIR)/tests/%.o $(TEST_MAIN) $(TEST_NEEDS)
|
$(TEST_SUITES): $(OUTDIR)/test-%: $(OUTDIR)/tests/%.o $(TEST_MAIN) $(TEST_NEEDS)
|
||||||
$(CXX) $(LDFLAGS) -o $@ $< $(TEST_MAIN) $(LIBS_TESTS)
|
$(CXX) $(LDFLAGS) -o $@ $< $(TEST_MAIN) $(LIBS_TESTS)
|
||||||
|
|
Loading…
Reference in a new issue