I believe that you can add build options to your project. You will need to add linker options to install compatible and current versions according to this page on "Mac OS X for Unix Geeks": library version . (They use a library called "response" in their examples with the alleged current version 1.2.6)
-dynamiclib -install_name libanswer.1.dylib \ -compatibility_version 1.2 -current_version 1.2.6 \ -o libanswer.1.2.6.dylib $(OBJS)
source share