fletcher / MultiMarkdown-4

This project is now deprecated. Please use MultiMarkdown-6 instead!
https://github.com/fletcher/MultiMarkdown-5
Other
307 stars 59 forks source link

Add support for building a shared library. #73

Closed haldean closed 10 years ago

haldean commented 10 years ago

This adds a build target (make lib) that creates libmmd.so, a shared library that other code can call into to use multimarkdown as a library, instead of requiring other programs to use multimarkdown as a binary.

fletcher commented 10 years ago

I actually think a shared library is a bad idea. Use a static library and embed in your own program so that users aren't required to have the exact same version of the library installed that you used. MMD is not such a big project that a shared library is that much more efficient.