title: Missing separator in Makefile?
body: <p>The following Makefile is not working and I am not sure what's going on.</p>
  
  <pre><code>CC = gcc
  CFLAGS = -Wall -g
  
  demo:
      ${CC} ${CFLAGS} demo.c -o demo
  lib:
      ${CC} ${CFLAGS} lib.c -o lib
  clean:
      rm -f lib demo
  </code></pre>
  
  <p>Demo has the main function and lib has a set of methods used in demo.</p>
  
  <p>I added the -c flag to lib. However when I run make, I get:</p>
  
  <pre><code>Makefile:5: *** missing separator.  Stop.
  </code></pre>