"-I" is a parameter to anotate position of header files, format:
cc [options] [sources.cxx] -I path_of_directoris
In this sample(Makefile), we use "-I.", which indicate that we look for
the header files in the current working diretory.
The search orders:(Depending on the way to include files: "" or <>)
<.h>: gcc/g++ look in following orders:
1."-I path_of_directories" -> specified path got checked first
2./usr/local/include
3./usr/include
4.cerr error
".h": gcc/g++ look in following orders:
1.current working directory (where sources code being staged)
2."-I path_of_directories" -> path_of_directories
3./usr/local/include
4./usr/include
5.cerr error
Extract from my Github notes:
https://github.com/youhengchan/LearnMake/tree/master/Makefile_Notes/test3