--- MITgcm/tools/genmake2 2004/07/30 14:31:40 1.91 +++ MITgcm/tools/genmake2 2004/07/31 13:01:12 1.94 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.91 2004/07/30 14:31:40 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.94 2004/07/31 13:01:12 edhill Exp $ # # Makefile generator for MITgcm UV codes # created by cnh 03/98 @@ -729,7 +729,7 @@ S64= KPP= FC= -CC= +#CC=gcc CPP= LINK= DEFINES= @@ -1138,14 +1138,14 @@ exit 1 fi if test "x$CC" = x ; then - cat <&2 - -Error: no C compiler: please specify using one of the following: - 1) within the options file ("CC=...") as specified by "-of=OPTFILE" - 2) the "-cc=XXX" command-line option - 3) the "./genmake_local" file -EOF - exit 1 + CC=cc +# cat <&2 +# Error: no C compiler: please specify using one of the following: +# 1) within the options file ("CC=...") as specified by "-of=OPTFILE" +# 2) the "-cc=XXX" command-line option +# 3) the "./genmake_local" file +# EOF +# exit 1 fi if test "x$LINK" = x ; then LINK=$FC @@ -1853,6 +1853,8 @@ FC = ${FC} # Fortran compiler F90C = ${F90C} +# C compiler +CC = ${CC} # Link editor LINK = ${LINK} ${LDADD}