title: Nothing to be done for "Makefile"
body: <p>I am supposed to write a Makefile for a project I need to do. I have it all done but when I try to do it, I get the following output:</p>
  
  <blockquote>
    <p>make: Nothing to be done for `Makefile'</p>
  </blockquote>
  
  <p>What might be the cause of this?</p>
  
  <p>Here's my Makefile file:</p>
  
  <pre><code>###########################################################
  # Makefile for XXXXX
  # name1, name2
  # account1, account2
  ###########################################################
  EXEC = a1
  CC = /opt/SUNWspro/bin/cc
  $(EXEC):
      $(CC) -o $(EXEC) a1.cpp a1.h a1.sic
      rm -f *.o
  clean:
      rm -f *.o core diss $(EXEC)
  #######################[ EOF: Makefile ]###################
  </code></pre>
  
  <p>Edit:
  Thanks to a kind user, I now know what happened.</p>
  
  <p>Now I have the following output</p>
  
  <pre><code>/opt/SUNWspro/bin/cc -o a1 a1.cpp a1.h a1.sic
  ld: fatal: file a1.cpp: unknown file type
  ld: fatal: file processing errors. No output written to a1
  make: *** [a1] Error 2
  </code></pre>
  
  <p>Can you please help?</p>