title: in a makefile, declaring a phony target as a wildcard
body: <p>I want to declare my wildcard target as phony, but phony doesn't support wildcards:</p>
  
  <p>My makefile:</p>
  
  <pre><code>%.config:
          gcc &lt;&lt;compile&gt;&gt;
  </code></pre>
  
  <p>I want the user to be able to use my makefile to compile the project, using a specific configuration file:</p>
  
  <pre><code>make something.config
  make something_else.config
  </code></pre>
  
  <p>obviously, I need my target to be phony, becuase the target files exist, but simply writing:</p>
  
  <pre><code>.PHONY: %.config
  </code></pre>
  
  <p>doesn't work.
  I've seen <a href="http://makepp.sourceforge.net/1.19/makepp_tutorial.html" rel="nofollow">here</a> that makeapp supports another syntax, that would help:</p>
  
  <pre><code>$(phony %.config): ...
  </code></pre>
  
  <p>but I can only use make, and not makeapp.</p>
  
  <p>Is there any way to do it with make?</p>