Real-Time Workshop User's Guide | ![]() ![]() |
Configuring the Template Makefile
Template makefiles specify the compiler, link, and make directives native to the target computer's operating system and compiler you are using. Two examples of template makefiles are provided in the directory matlab/rtw/ada/gnat
. File gnat_sim.tmf
is the template makefile that builds that real-time Ada simulation program. The automatic build process expands the macros defined at the top of the .tmf
file to create the call to gnatmake
. gnatmake
then compiles and links the program.
There are two ways to make permanent changes to the template makefile if you need to make modifications either to target a different Ada95 compiler or to make minor adjustments to the gnat
make directive:
matlab/rtw/ada/gnat
and make modifications to the new file.![]() | Models with S-Functions | Data Logging | ![]() |