Adding a Build Rule to a Target
Change the way files are processed with build rules.
In the project editor, select the target to which you want to add a build rule.
Click Build Rules at the top of the project editor.
Choose Editor > Add Build Rule.
A build rule template opens in the project editor.
Choose a file type from the Process pop-up menu.
Choose a tool from the Using pop-up menu.
You can define build rules on a per-target basis. Target-specific build rules can specify files that the system build rules do not directly address and can override the existing system build rules, which are predefined and unmodifiable.