Generate makefile

Description

Enable generation of a makefile based on a template makefile.

Note

This option only appears when the model is configured to use a template makefile-based code generation target, as described in Choose Build Approach and Configure Build Process.

Category: Code Generation

Settings

Default: on

On

Generates a makefile for a model during the build process.

Off

Suppresses the generation of a makefile. You must set up post code generation build processing, including compilation and linking, as a user-defined command.

Dependencies

This parameter enables:

  • Make command

  • Template makefile

Command-Line Information

Parameter: GenerateMakefile
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics