I just answered your question on stackoverflow
http://stackoverflow.com/a/10218656/782168

HI there, the problem is the ordering of the arguments.
I am not happy with this makefile, here is a patch https://github.com/h4ck3rm1k3/gosmore/commit/67bd8e2dd7e76de47a31b3c3df1ab33b8fda797b