<p><b>duda</b> 2010-06-07 11:01:34 -0600 (Mon, 07 Jun 2010)</p><p>Use ifeq syntax in top-level Makefile to define EXPAND_LEVELS as 26<br>
only if we are compiling the hydrostatic atmosphere core; else, <br>
EXPAND_LEVELS is not defined, and the code will use the vertical level<br>
set directly from the input file.<br>
<br>
M    Makefile<br>
</p><hr noshade><pre><font color="gray">Modified: trunk/mpas/Makefile
===================================================================
--- trunk/mpas/Makefile        2010-06-04 20:25:50 UTC (rev 337)
+++ trunk/mpas/Makefile        2010-06-07 17:01:34 UTC (rev 338)
@@ -1,7 +1,10 @@
 #MODEL_FORMULATION = -DNCAR_FORMULATION
 MODEL_FORMULATION = -DLANL_FORMULATION
 
-#EXPAND_LEVELS = -DEXPAND_LEVELS=26
+ifeq ($(CORE),hyd_atmos)
+EXPAND_LEVELS = -DEXPAND_LEVELS=26
+endif
+
 FILE_OFFSET = -DOFFSET64BIT
 
 #########################

</font>
</pre>