Unused files were removed. Significant options were moved from raw Makefile into CMakeLists.txt.