Remove cmake files and add a python script to generate the Makefiles

I decided to use Makefiles because the cmake do not support
multiples compilers for the same language.