#-------------------------------------------------------------------------------#
# DEBUG build settings for Linux g95 compiler
#-------------------------------------------------------------------------------#

# The compiler and linker name
export FC="g95"

export FL="g95"

# Compiler and linker settings for DEBUG builds
F_COMMON_FLAGS="-pg"

export FC_FLAGS="\
 -c \
 -fbounds-check \
 -fendian=big \
 -ffree-form \
 -fno-second-underscore \
 -ftrace=frame \
 -malign-double \
 -Wall \
 ${F_COMMON_FLAGS}"

export FL_FLAGS="\
 ${F_COMMON_FLAGS}"


echo "========================================="
echo " CRTM compilation environment variables:"
echo "   FC:       ${FC}"
echo "   FC_FLAGS: ${FC_FLAGS}"
echo "   FL:       ${FL}"
echo "   FL_FLAGS: ${FL_FLAGS}"
echo "========================================="
echo