Makefiles improved. Generated files removed.