If necessary clean previous build:
make clean
Then build (currently always debug build):
make all
Run:
./build/main
To open the resulting image you can use (Ubuntu):
xdg-open output.ppm