Import and build existing source code into a Makefile project

A Makefile template type is useful if you want to import and modify existing makefile-based projects. Makefile projects let you tell the IDE which toolchain you're using, which will help the IDE with various tasks such as source navigation into system header files.

To import existing code into a Makefile project:

  1. From the File menu, select New > Project .
  2. In the New Project dialog, expand BlackBerry Tablet OS, and then select BlackBerry PlayBook C/C++ Project.
  3. Click Next. In the resulting dialog, give your project a name.
  4. Click Next.
  5. Select the language (C or C++) that you want to use for the new BlackBerry Tablet OS project, select Makefile Build, and then specify the Custom Build > Empty Project project type.

    By default, the Toolchain and template types that are currently shown in the lists are based on the language support for the project type that you selected.

  6. Click Finish. A ready-to-use project structure is created for you.
  7. Click the project from the Project Explorer view.
  8. Click File > Import .
  9. Expand General, choose File System, and then click Next.
  10. Specify the folder that contains the source code you want to import.
  11. Click Finish.