Generating a static library aswell