<p><b>laura@ucar.edu</b> 2010-05-20 14:04:14 -0600 (Thu, 20 May 2010)</p><p>Added capabilities to link the physics library<br>
</p><hr noshade><pre><font color="gray">Modified: branches/atmos_physics/src/Makefile
===================================================================
--- branches/atmos_physics/src/Makefile        2010-05-20 20:01:29 UTC (rev 291)
+++ branches/atmos_physics/src/Makefile        2010-05-20 20:04:14 UTC (rev 292)
@@ -2,8 +2,8 @@
 
 all: mpas
 
-mpas: reg_includes externals frame ops dycore drver
-        $(FC) $(LDFLAGS) -o $(CORE)_model.exe driver/*.o -L. -ldycore -lops -lframework $(LIBS)
+mpas: reg_includes externals frame ops physcore dycore drver
+        $(FC) $(LDFLAGS) -o $(CORE)_model.exe driver/*.o -L. -ldycore -lops -lframework -lphys $(LIBS)
 
 reg_includes: 
         ( cd registry; make CC=&quot;$(SCC)&quot; )
@@ -20,6 +20,10 @@
         ( cd operators; make all ) 
         ln -sf operators/libops.a libops.a
 
+physcore:
+        ( cd core_hyd_phys; make all )
+        ln -sf core_hyd_phys/libphys.a libphys.a
+
 dycore: 
         ( cd core_$(CORE); make all ) 
         ln -sf core_$(CORE)/libdycore.a libdycore.a
@@ -28,11 +32,12 @@
         ( cd driver; make all ) 
 
 clean:
-        $(RM) $(CORE)_model.exe libframework.a libops.a libdycore.a
+        $(RM) $(CORE)_model.exe libframework.a libops.a libphys.a libdycore.a
         ( cd registry; make clean )
         ( cd external; make clean )
         ( cd framework; make clean )
         ( cd operators; make clean )
+        ( cd core_hyd_phys; make clean )
         ( cd inc; rm -f *.inc )
         if [ -d core_$(CORE) ] ; then \
            ( cd core_$(CORE); make clean ) \

</font>
</pre>