target.MakefileBuilder - Specify that toolchain is makefile-based - MATLAB (original) (raw)

Main Content

Namespace: target

Specify that toolchain is makefile-based

Since R2023a

Description

Use a target.MakefileBuilder object to:

To create a target.MakefileBuilder object, use the target.create function. Create the object in a single step.

makefileBuilderObject = target.create('MakefileBuilder', option)

option is the name of the target.MakeToolType object that you want to specify for the MakeToolType property of_makefileBuilderObject_. For example, 'GMake' or'NMake'.

Properties

expand all

Type of makefile that the toolchain generates. Specify eitherGMake or NMake.

Attributes:

GetAccess public
SetAccess public

Examples

collapse all

This code snippet shows how you can use atarget.MakefileBuilder object to specify that the toolchain is based on a GNU Make (gmake) makefile.

mingwtc.Builder = target.create('MakefileBuilder', 'GMake');

Version History

Introduced in R2023a