title: "make: *** no rule to make target 'all' Eclipse Error
body: <p>I have read many threads about this problem, but I was not able to solve it.</p>
  
  <p>I'm running on Linux, with Eclipse and CDT plugin installed.
  I have an existing C project, located in /home/luca/prova.
  In this folder there are some source files and a makefile (called makefile), that I report below:</p>
  
  <pre><code>CC = gcc
  CFLAGS = -Wall -Werror -O2
  HEADERS = lz78_compressor.h lz78_decompressor.h 
  SOURCES := $(wildcard *.c)
  OBJ = $(SOURCES:.c=.o)
  EXECUTABLE = lz78
  
  
  .PHONY : clean install uninstall help
  
  
  %.o : %.c $(HEADERS)
      @$(CC) -c -o $@ $&lt; $(CFLAGS)
  
  
  $(EXECUTABLE) : $(OBJ)
      $(CC) -o $@ $^ $(CFLAGS)
      @echo "Build finished. Executable file created : $(EXECUTABLE)"
  
  clean : 
      rm -f $(EXECUTABLE) $(OBJ)
  
  
  install :
      -@cp ./$(EXECUTABLE) /usr/bin
      @echo "Tool installed"
  
  
  uninstall :
      -@rm /usr/bin/$(EXECUTABLE)
      @echo "Tool uninstalled"
  
  
  help :
      @echo
      @echo "Makefile"
      @echo
      @echo "make                     : build all"
      @echo "install          : install the tool in the system"
      @echo "uninstall        : remove the tool from the system"
      @echo "clean            : remove all .o files and the executable file"
      @echo 
  </code></pre>
  
  <p>If I compile in the shell, it works all fine. But I want to import it in Eclipse.
  Following this wiki, <a href="http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_import.htm" rel="nofollow noreferrer">http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_import.htm</a>
  I create a new C project, then I modify settings about the project building.
  In the next image there are the settings that I set:</p>
  
  <p><a href="https://i.stack.imgur.com/oJOUz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oJOUz.png" alt="enter image description here"></a></p>
  
  <p>When I try to build the project, I see the error</p>
  
  <pre><code>"make: *** no rule to make target 'all'
  </code></pre>
  
  <p>Why? Anyone could help me?</p>
  
  <p>Thanks</p>