Correct Smax in settings.c, standard Makefile