title: Is dependency on a symlink possible in a Makefile?
body: <p>I need a couple of symlinks in my project.</p>
  
  <p>From <code>src/openlayers</code>, folders <code>img</code> and <code>theme</code> have to be symlinked in <code>contrib/openlayers</code>. The <code>contrib/openlayers</code> folder should also be created automatically.</p>
  
  <pre><code>.PHONY: run
  run: contrib/openlayers/theme contrib/openlayers/img
     ../bin/pserve development.ini --reload
  
  contrib/openlayers/theme:
      ln -s src/openlayers/theme $@
  
  contrib/openlayers/img:
      ln -s src/openlayers/img $@
  </code></pre>
  
  <p>But this rule tries to create symlinks every time. (I put <code>-f</code> flag to <code>ln</code>, so it re-creates the symlinks every time.)</p>