Flag for batch mode?



I sometimes use maxima within a makefile, (as maxima -b file).   Is
there a flag or something that allows my maxima script to decided if
I've run from a console or from a file?

David