3.7.2 I: Specify Assembler Search Path Option

The -I dir option adds dir to the list of directories that the assembler searches for files specified in .include directives. You may use -I as many times as necessary to include a number of paths. The current working directory is always searched first; after that, the assembler searches any -I directories in the same order as they were specified (left to right) on the command line.

When passed directly to the assembler, this option affects the search path used by the assembler's .include directive. To affect the search path used by the C preprocessor for a #include directive, pass the corresponding option to the xc32-gcc compilation driver.