diff --git a/Makefile.main b/Makefile.main index a3599a4..11da03c 100644 --- a/Makefile.main +++ b/Makefile.main @@ -105,6 +105,9 @@ $(LIB_DYNAMIC): $(LIB_OBJS) -o $(LIB_DYNAMIC) \ $(LIB_OBJS) $(LIBS_LIB) +$(LIB_STATIC): $(LIB_OBJS) + ar crD $(LIB_STATIC) $(LIB_OBJS) + # Tests $(TEST_SUITES): $(OUTDIR)/test-%: $(OUTDIR)/tests/%.o $(TEST_MAIN) $(TEST_NEEDS) $(CXX) $(LDFLAGS) -o $@ $< $(TEST_MAIN) $(LIBS_TESTS)