title: Version matching in makefile
body: <p>I am new to make. Suppose I have a makefile which has atarget, the target will kick off different compile command base on the version: From version 1.x.x to version 3.x.x, it will kick off command 1. While version 4.x.x or above, it will kick off command 2.</p>
  
  <pre><code>run-%: %.txt
     &lt;if %.txt is in between 1.x.x and 3.x.x, kick off command 1 with %.txt as input&gt;
     &lt;else kick off command 2 with %x.txt as input&gt;
  </code></pre>
  
  <p>User will run it like this:</p>
  
  <pre><code>make run-2.2.0
  </code></pre>
  
  <p>Does make provide some sort of pattern matching?</p>