title: Using $@ at prerequisite in Makefile
body: <p>All</p>
  <p>I just want to using $@ at prerequisite in a Makefile like this</p>
  <pre><code>test.v: $(@:%.v=%.tv)
      echo $&lt; $@
  </code></pre>
  <p>It suppose output</p>
  <pre><code>test.tv test.v
  </code></pre>
  <p>but it only output</p>
  <pre><code>test.v
  </code></pre>
  <p>Anything I miss?</p>