Lammps can be built as a library. Please add...
I committed lammps-20140212 which builds the static and the shared library by default.