function [buildModuleFiles, buildModuleFilePaths] = getTMFModules(lBuildInfo)
%GETTMFMODULES returns a list of source file modules required for TMF case
%   BUILDMODULELIST is a list of .c and/or .cpp source file modules that
%   must be written to the template makefile.

%    Copyright 2016-2019 The MathWorks, Inc.

srcFilesWithPaths = getSourceFiles(lBuildInfo, true, false);
[buildModuleFilePaths, names, exts] = ...
    coder.make.internal.fileparts(srcFilesWithPaths, lBuildInfo.Settings.FileSep);
buildModuleFiles = strcat(names, exts);

