Generates the script for displaying compile-time info.

def _make_info(identifier, verbose):
    """Generates the script for displaying compile-time info."""
    module, method = identifier.split(".")
    redirect = "| tee -a" if verbose else " >>"
    return """
info: 
	echo -e "\\nCompile time:" > $(LOG)
	date >> $(LOG)
	echo "------------------------------------------------------"{2} $(LOG)
	echo "                     FORTPY"                           {2} $(LOG)
	echo "               >>> version 1.7 <<<                    "{2} $(LOG)         
	echo "------------------------------------------------------"{2} $(LOG)
	echo -e "Compiling on system  : $(UNAME)"                    {2} $(LOG)
	echo -e "             machine : $(HOSTNAME)"                 {2} $(LOG)
	echo "Compiling for module : {0}"                            {2} $(LOG)         
	echo "              method : {1}"                            {2} $(LOG)         
	echo "------------------------------------------------------"{2} $(LOG)
	echo -e "DEBUG mode\\t:\\t$(DEBUG)"                          {2} $(LOG)
	echo -e "GPROF mode\\t:\\t$(GPROF)"                          {2} $(LOG)
	echo "------------------------------------------------------"{2} $(LOG)
	echo "F90    : $(F90)"                                       {2} $(LOG)
	echo "FFLAGS : $(FFLAGS)"                                    {2} $(LOG)
	echo "LDFLAGS: $(LDFLAGS)"                                   {2} $(LOG)
	echo "MKLpath:$(MKL)"                                        {2} $(LOG)
	echo "------------------------------------------------------"{2} $(LOG)
	echo ""                                                      {2} $(LOG)

""".format(module, method, redirect)