title: Makefile - missing separator
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/920413/make-error-missing-separator">Make error: missing separator</a>  </p>
  </blockquote>
  
  
  
  <p>Have this code in makefile:</p>
  
  <pre><code>PROG = semsearch
  all: $(PROG)
  %: %.c
  gcc -o $@ $&lt; -lpthread
  
  clean:
  rm $(PROG)
  </code></pre>
  
  <p>and the error</p>
  
  <pre><code>missing separator. stop.
  </code></pre>
  
  <p>Can someone help me?</p>