title: Linker input file unused c++ g++ make file
body: <p>I am unable to figure out what is causing this error that I keep getting upon making my project:</p>
  
  <pre><code>i686-apple-darwin11-llvm-g++-4.2: -lncurses: linker input file unused because linking not done
  </code></pre>
  
  <p>And my make file looks like this:</p>
  
  <pre><code>CC = g++
  
  LIB_FLAGS = -l ncurses
  
  FLAGS = $(LIB_FLAGS)
  
  DEPENDENCIES = window.o element.o
  
  # FINAL OUTPUTS
  main: main.cpp $(DEPENDENCIES)
      $(CC) $(FLAGS) -o main.out main.cpp $(DEPENDENCIES)
  
  # MODULES
  window.o: main.h classes/window.cpp
      $(CC) $(FLAGS) -c classes/window.cpp
  
  element.o: main.h classes/element.cpp
      $(CC) $(FLAGS) -c classes/element.cpp
  
  # CLEAN
  clean:
      rm -rf *.o
      rm main.out
  </code></pre>
  
  <p>Everything compiles okay, but I'm just curious what is causing this error message and what it means..</p>