title: Running all targets at once in a Makefile
body: <p>I have a Makefile as below</p>
  
  <pre><code>all:
      bison -d -v parser.y
      flex  -o parser.lex.c parser.lex
      gcc  -o cparser parser.lex.c parser.tab.c -lfl -lm 
  clean:
      rm parser.tab.h parser.tab.c parser.output parser.lex.c     
  </code></pre>
  
  <p>When i ran make in terminal  then it only runs target <code>all</code>.</p>
  
  <p>I have tried by adding
   <code>.PHONY:all clean</code> and <code>.PHONY:clean</code> even though it only runs <code>all</code> .
  What are the changes i should make in Makefile so that it runs all target ?  </p>
  
  <p>System Configurations:<br/>
  Ubuntu 14.10<br/>
  GNU Make 4.0</p>