title: echo for one target
body: <p>I have a makefile which looks for .txt files in a directory and for each file makes echo of it name.</p>
  
  <pre><code>pchs := $(wildcard $(OUTPUT:%=%/*.txt))
  txt:  $(pchs)
  %.txt:
      echo $@
  </code></pre>
  
  <p>But when I start it the make utility returns me that nothing to be done for txt. Why?</p>
  
  <p><strong>EDIT1:</strong></p>
  
  <p>After some answers I understand what I should make with my makefile. Now it looks like this:</p>
  
  <pre><code>pchs := $(wildcard $(OUTPUT:%=%/*.txt))
  
  .PHONY : $(pchs)
  
  txt:  $(pchs)
  
  %.txt:
      @echo pch is '$&lt;'
  </code></pre>
  
  <p>But .PHONY does not help me the result of making is the same.</p>