function initializeMakeComponents(h,buildInfo)
%

%   Copyright 2014 The MathWorks, Inc.

persistent makeComponents
if h.ToolchainInfo.generatesMakefile()
    if isempty( makeComponents )
        makeComponents = struct( 'Toolchain', [  ], 'Macros', [  ], 'SourceFiles', [  ], 'ObjectFiles', [  ], 'PrebuiltObjectFiles', [  ], 'IncludeFiles', [  ], 'IncludePaths', [  ], 'Defines', [  ], 'Libraries', [  ], 'LibrariesCategorized', [  ], 'BuildableLibraries', [  ], 'BuildablePrecompiledLibraries', [  ], 'BuildableNonprecompiledLibraries', [  ], 'LinkOnlyLibraries', [  ], 'NonBuildFiles', [  ], 'ModelReferences', [  ], 'ToolchainFlags', [  ], 'PhonyTargets', [  ], 'FinalTarget', [  ], 'IntermediateTargets', [  ], 'MiscellaneousTargets', [  ], 'Dependencies', [  ] );
    end
    h.Components = makeComponents;
end
end
