Informs the make processor how to build a target file from a source file.
Syntax
.sourceextension.targetextension:
command ...
Notes
sourceextension
|
the extension of the source file.
|
targetextension
|
the extension of the target file.
|
command
|
the command(s) to use to build the target from from the source file.
|
Notes
A make file contains one or more inference statement definitions, followed
by one or more commands. Each inference statement definition tells iMake how
to make the target file.
Each inference statement must be terminated by an blank (empty) line.
Shell command and batch files are not automatically executable. Prefix shell commands and batch files with the shell executable to use. For example:
c:\command.com /c md tmp
c:\command.com /c copy src\$@ tmp\$@
Example
.c.obj:
cl /c $*.c
|