title: Makefile issue - No rule to make target 'gcc'
body: <p>I have just started learning make and I am having some trouble. I want to create an executable called sortfile. Here are the relevant files: <code>sortfile.c fileio.c fileio.h</code></p>
  
  <p>Both <code>sortfile.c</code> and <code>fileio.c</code> use <code>fileio.h</code>.</p>
  
  <p>Here is my makefile:</p>
  
  <pre><code>  1 CC = gcc                                                                                                                                                                                                                                  
    2 CFLAGS = -g -Wall                                                                                                                                                                                                                         
    3                                                                                                                                                                                                                                           
    4 default: sortfile                                                                                                                                                                                                                         
    5                                                                                                                                                                                                                                           
    6 sortfile: sortfile.o fileio.o $(CC) $(CFLAGS) -o sortfile sortfile.o fileio.o                                                                                                                                                             
    7                                                                                                                                                                                                                                           
    8 sortfile.o: sortfile.c fileio.h $(CC) $(CFLAGS) -c sortfile.c                                                                                                                                                                             
    9                                                                                                                                                                                                                                           
   10 fileio.o: fileio.c fileio.h $(CC) $(CFLAGS) -c fileio.c                                                                                                                                                                                   
   11                                                                                                                                                                                                                                           
   12 clean:                                                                                                                                                                                                                                    
   13         $(RM) sortfile *.o*~  
  </code></pre>
  
  <p>I am getting the following error: </p>
  
  <pre><code>make: *** No rule to make target `gcc', needed by `sortfile.o'.  Stop.
  </code></pre>