OBJPATH: Object File Path

Tools

Compiler, Linker, Decoder, Debugger, Burner

Synonym

None

Syntax
  OBJPATH=<path> 
  
Default

Current directory

Arguments

<path>: Path without spaces

Description

The Compiler places generated object files into the directory specified by OBJPATH. If this environment variable is empty or does not exist, the compiler places the object file in the same directory as the source code.

If the Compiler tries to generate an object file into the directory specified by this environment variable but fails (for example, because the file is locked), the Compiler issues an error message.

If a tool looks for an object file, it first checks for an object file specified by this environment variable, then in GENPATH, and finally in HIPATH (refer GENPATH: #include "File" Path, HIPATH).

Example

OBJPATH=\sources\obj

See also

Output Files