Subversion Repositories lagranto.ecmwf

Rev

Rev 5 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 9
Line 34... Line 34...
34
# ----- Compile --------------------- ----------
34
# ----- Compile --------------------- ----------
35
 
35
 
36
\rm -f ${tool}.o
36
\rm -f ${tool}.o
37
\rm -f ${tool}
37
\rm -f ${tool}
38
 
38
 
39
echo "pgf90 -c ${tool}.f ${ncdf_incs}"  
39
echo "${FORTRAN} -c ${tool}.f ${ncdf_incs}"  
40
      pgf90 -c ${tool}.f ${ncdf_incs}   
40
      ${FORTRAN} -c ${tool}.f ${ncdf_incs}   
41
echo "pgf90 -o ${tool} ${tool}.o ${mods} ${libs} ${ncdf_libs}"        
41
echo "${FORTRAN} -o ${tool} ${tool}.o ${mods} ${libs} ${ncdf_libs}"        
42
      pgf90 -o ${tool} ${tool}.o ${mods} ${libs} ${ncdf_libs}
42
      ${FORTRAN} -o ${tool} ${tool}.o ${mods} ${libs} ${ncdf_libs}
43
 
43
 
44
if ( ! -f ${tool} ) then
44
if ( ! -f ${tool} ) then
45
  echo "ERROR: compilation of <tool> failed... exit"
45
  echo "ERROR: compilation of <tool> failed... exit"
46
  exit 1
46
  exit 1
47
endif
47
endif