--- MITgcm/tools/genmake2 2004/07/30 14:31:40 1.91 +++ MITgcm/tools/genmake2 2004/07/30 19:53:15 1.93 @@ -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.93 2004/07/30 19:53:15 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 @@ -1850,9 +1850,11 @@ # Special preprocessor (KAP on DECs, FPP on Crays) KPP = ${KPP} # Fortran compiler -FC = ${FC} +FC = ${FC} in # Fortran compiler F90C = ${F90C} +# C compiler +CC = ${CC} # Link editor LINK = ${LINK} ${LDADD}