title: "make clean" results in "No rule to make target `clean'"
body: <p>I am running Ubuntu 10.04. Whenever I run <code>make clean</code>, I get this: </p>
  
  <blockquote>
    <p>make: *** No rule to make target `clean'.  Stop.</p>
  </blockquote>
  
  <p>Here is my makefile:</p>
  
  <pre><code>CC = gcc
  CFLAGS = -g -pedantic -O0 -std=gnu99 -m32 -Wall
  PROGRAMS = digitreversal
  all : $(PROGRAMS)
  digitreversal : digitreversal.o
         $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
  .PHONY: clean
  clean:
         @rm -f $(PROGRAMS) *.o core
  </code></pre>
  
  <p>Any ideas why its not working?</p>
  
  <p>EDIT: It seems like doing:</p>
  
  <pre><code>make -f Makefile.txt clean
  </code></pre>
  
  <p>works. Now: is there any setting to change so I don't have to do the <code>-f Makefile.txt</code> every time?</p>