title: Version number comparison inside makefile
body: <p>In a makefile, I'd like to define a variable specifying whether the current redhat-release is greater than 5.3. (This variable will be passed to gcc as a #define)</p>
  
  <p>So far I've come up with:</p>
  
  <pre><code># Find out which version of Red-Hat we're running
  RH_VER_NUM = $(shell /bin/grep -o [0-9].[0-9] /etc/redhat-release)
  RH_GT_5_3 = $RH_VER_NUM &gt; '5.3'
  </code></pre>
  
  <p>What would be the correct way to define RH_GT_5_3?</p>