User`s guide
The Build Process
2-19
During the final stage of processing, Real-Time Workshop invokes the
generated make file,
model.mk, which in turn compiles and links the
generated code. To avoid unnecessary recompilation of C files, the
make utility
performs date checking on the dependencies between the object and C files;
only out-of-date source files are compiled. Optionally, the make file can
download the resulting executable image to your target hardware.
Custom
Generate
Makefile
Click Build
Button
Create
Executable?
No
Invoke
Yes
Generate
Code
Template
Makefile
Simulink
Model
Makefile
model.mk
make
model.c
model.h
model_private.h
Stop