To get the source code use Git to download the dependency libraries it uses:
git clone --recursive https://github.com/edoren/Minesweeper.git
This project uses CMake as build system as well as a C++11 compatible compiler. Inside the project folder execute:
mkdir build
cd build
cmake ..
make