Syntax

-Jdirectory

The -J option adds directory to the end of the list of directories to search for source files included (using triangular brackets) by the INCLUDE and INCLUDEBIN directives.

Example

For example, to tell the assembler to search the directories ../include and ../lib/include for included system files when compiling file.asm and writing the output to file.hzo you could use the following:

has -J../include -J../lib/include file.c -o file.hzo file.asm