cross platform c++ class lib (makefile)