Keil™, An ARM® Company

Cx51 User's Guide

OBJECT Compiler Directive

Abbreviation OJ
Arguments An optional filename enclosed in parentheses.
Default OBJECT (filename.OBJ)
µVision Options — Output — Select Folder for Objects.
Description 

The OBJECT directive specifies the filename of the object file. By default, the object file created is named using the source file name and the .OBJ file extension.

See Also NOOBJECT
Example 
C51 SAMPLE.C OBJECT(sample1.obj)

#pragma oj(sample_1.obj)