Linker input file unused c++ g++ make file
问题 I am unable to figure out what is causing this error that I keep getting upon making my project: i686-apple-darwin11-llvm-g++-4.2: -lncurses: linker input file unused because linking not done And my make file looks like this: 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