<p><b>duda</b> 2010-05-05 14:11:28 -0600 (Wed, 05 May 2010)</p><p>Change all Makefiles to keep the pre-processed Fortran source <br>
files (i.e., the .f90 files) around, and to remove these files <br>
when doing a 'make clean'.<br>
<br>
<br>
M    src/core_hyd_atmos/Makefile<br>
M    src/core_sw/Makefile<br>
M    src/driver/Makefile<br>
M    src/core_ocean/Makefile<br>
M    src/framework/Makefile<br>
M    src/operators/Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: trunk/mpas/src/core_hyd_atmos/Makefile
===================================================================
--- trunk/mpas/src/core_hyd_atmos/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/core_hyd_atmos/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -19,10 +19,9 @@
 mpas_interface.o: module_advection.o module_test_cases.o module_time_integration.o
 
 clean:
-        $(RM) *.o *.mod libdycore.a
+        $(RM) *.o *.mod *.f90 libdycore.a
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../operators
-        $(RM) $*.f90

Modified: trunk/mpas/src/core_ocean/Makefile
===================================================================
--- trunk/mpas/src/core_ocean/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/core_ocean/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -19,10 +19,9 @@
 mpas_interface.o: module_global_diagnostics.o module_test_cases.o module_time_integration.o
 
 clean:
-        $(RM) *.o *.mod libdycore.a
+        $(RM) *.o *.mod *.f90 libdycore.a
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../operators
-        $(RM) $*.f90

Modified: trunk/mpas/src/core_sw/Makefile
===================================================================
--- trunk/mpas/src/core_sw/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/core_sw/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -16,10 +16,9 @@
 mpas_interface.o: module_test_cases.o module_time_integration.o 
 
 clean:
-        $(RM) *.o *.mod libdycore.a
+        $(RM) *.o *.mod *.f90 libdycore.a
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../operators
-        $(RM) $*.f90

Modified: trunk/mpas/src/driver/Makefile
===================================================================
--- trunk/mpas/src/driver/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/driver/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -10,10 +10,9 @@
 mpas.o: module_subdriver.o
 
 clean:
-        $(RM) *.o *.mod
+        $(RM) *.o *.mod *.f90
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework -I../core_$(CORE)
-        $(RM) $*.f90

Modified: trunk/mpas/src/framework/Makefile
===================================================================
--- trunk/mpas/src/framework/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/framework/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -35,13 +35,12 @@
 module_io_output.o: module_grid_types.o module_dmpar.o module_sort.o module_configure.o
 
 clean:
-        $(RM) *.o *.mod libframework.a
+        $(RM) *.o *.mod *.f90 libframework.a
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES)
-        $(RM) $*.f90
 
 .c.o:
         $(CC) $(CFLAGS) $(CPPFLAGS) $(CPPINCLUDES) -c $&lt;

Modified: trunk/mpas/src/operators/Makefile
===================================================================
--- trunk/mpas/src/operators/Makefile        2010-05-05 18:25:12 UTC (rev 251)
+++ trunk/mpas/src/operators/Makefile        2010-05-05 20:11:28 UTC (rev 252)
@@ -10,10 +10,9 @@
 module_vector_reconstruction.o:
 
 clean:
-        $(RM) *.o *.mod libops.a
+        $(RM) *.o *.mod *.f90 libops.a
 
 .F.o:
         $(RM) $@ $*.mod
         $(CPP) $(CPPFLAGS) $(CPPINCLUDES) $&lt; &gt; $*.f90
         $(FC) $(FFLAGS) -c $*.f90 $(FCINCLUDES) -I../framework
-        $(RM) $*.f90

</font>
</pre>