The New C/C++ Project With Existing Sources wizard enables you to create a project using an existing makefile.
In the Source Files page, you select the folders that contain the source files associated with your project. The page automatically lists the folder that contains the existing makefile.
To add a source folder to your project:
To remove a source folder from your project:
Exclude Pattern. Specifies any folders in the source directory that you do not want the IDE to use for source files. Type POSIX-style regular expressions to specify the files you want the IDE to ignore. The IDE provides the default pattern ^(nbproject)$ to exclude files in the project folders. You can add other folders to this pattern, for example use ^(nbproject|build|test|tests)$ to ignore files in build, test, and tests.
You can also add the folders to the project using the Add Folders button.