Remaking makefile. Should we migrate to CMake? ;)

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>