Real-Time Workshop | ![]() ![]() |
Template Makefiles and Make Options
Real-Time Workshop includes a set of built-in template makefiles that are designed to build programs for specific targets.
There are two types of template makefiles:
grt_vc.tmf
is the template makefile for building a generic real-time program under Visual C/C++; ert_lcc.tmf
is the template makefile for building a Real-Time Workshop Embedded Coder program under the LCC compiler.
target
_default_tmf
. For example, grt_default_tmf
is the default template makefile for building a generic real-time program; ert_default_tmf
is the default template makefile building a Real-Time Workshop Embedded Coder program.
You can supply options to makefiles via arguments to the Make command field of the Target configuration
category of the Real-Time Workshop tab of the Simulation Parameters dialog. Append the arguments after make_rtw
(or make_xpc
or other make
command), as in the following example.
The syntax for make
command options differs slightly for different compilers.
![]() | Choosing and Configuring Your Compiler | Compiler-Specific Template Makefiles | ![]() |