gcc - What does the '-I.' option cause in a g++ call? -


in makefile compiler variables cxxflags , cppflags each set this:

cxxflags = -i. $(shell something) 

whereas -i directory option used include standard lib directory buildprocess, cannot figure out effect '.' has in upper example. makefile works after removing '-i.'.

. references current directory (whether that's on windows or unix-type systems).

-i. adds current directory include file search path. -l. include library search path.


Comments