Inline template files have .il file extension. Compile inline templates along with the source file that calls them. The code is inlined by the code-generator stage of compilation.
cc -O prog.c code.il
The example above will compile prog.c and inline the code from code.il wherever the function defined by code.il is called in prog.c.