Atualizing the makefile

Removing the submodules and using dynamical libs