Compila main