Removed Makefiles and replaced it with CMake.