Add makefile and ss_analytic

Test code is also provided for debugging compilation issues.