Added makefile to compile as library…

… and to make it available in cydia.