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:
- Specify that the toolchain is makefile-based.
- Specify the type of makefile that the toolchain generates (GNU® Make or NMAKE).
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
Type of makefile that the toolchain generates. Specify eitherGMake
or NMake
.
Attributes:
GetAccess | public |
---|---|
SetAccess | public |
Examples
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