Update C++ Makefile.

Make it more generalised.
Remove weird labels.
No project related variable any more.
Rename .cpp to .hpp in solve/cpp

It’s weird to use cpp file in include clause.