Split the makefiles into two parts.

* The first one uses the solution file.
* The second one uses the individual projects.