add makefile
adjust cmake to makefile
small change in src/main.cpp