<p><b>duda</b> 2011-09-19 12:46:12 -0600 (Mon, 19 Sep 2011)</p><p>BRANCH COMMIT<br>
<br>
Add free-form flag and m32 flag to fix compilation problems <br>
on MMM's Apple/Darwin machines with g95. The gcc compiler on<br>
these machines defaults to 64-bit, while the g95 compiler<br>
can only produce 32-bit objects.<br>
<br>
M Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: branches/atmos_physics/Makefile
===================================================================
--- branches/atmos_physics/Makefile        2011-09-19 17:14:29 UTC (rev 1008)
+++ branches/atmos_physics/Makefile        2011-09-19 18:46:12 UTC (rev 1009)
@@ -131,10 +131,10 @@
g95:
        ( make all \
        "FC = mpif90" \
-        "CC = mpicc" \
+        "CC = mpicc -m32" \
        "SFC = g95" \
-        "SCC = gcc" \
-        "FFLAGS = -O3 -ffree-line-length-huge -r8 -fendian=big" \
+        "SCC = gcc -m32" \
+        "FFLAGS = -O3 -ffree-line-length-huge -r8 -fendian=big -ffree-form" \
        "CFLAGS = -O3" \
        "LDFLAGS = -O3" \
        "CORE = $(CORE)" \
@@ -143,10 +143,10 @@
g95-serial:
        ( make all \
        "FC = g95" \
-        "CC = gcc" \
+        "CC = gcc -m32" \
        "SFC = g95" \
-        "SCC = gcc" \
-        "FFLAGS = -O3 -ffree-line-length-huge -r8 -fendian=big" \
+        "SCC = gcc -m32" \
+        "FFLAGS = -O3 -ffree-line-length-huge -r8 -fendian=big -ffree-form" \
        "CFLAGS = -O3" \
        "LDFLAGS = -O3" \
        "CORE = $(CORE)" \
</font>
</pre>