Create a Makefile to build outside of the Momentics IDE

To create a Makefile that can be launched outside the Momentics IDE for BlackBerry:

  1. In the Project Explorer view, right-click a project, and then select Properties.
  2. On the Properties dialog box, click C/C++ Build.
  3. On the Builder Settings tab, select the Generate Makefiles automatically and the Expand Env. Variable Refs in Makefiles check boxes.
  4. Expand C/C++ Build, and then select Tool chain editor.
  5. In the Current builder list, select the external make builder.
  6. Click OK.

    The Momentics IDE generates several .mk files and a top-level Makefile for each processed configuration (the last one in the configuration folder). To process this Makefile from command line, use the make utility:

    make -f [configuration]/makefile [target]
Every time you change, update, or delete any configuration, you need to refresh the make infrastructure. To refresh the make infrastructe, you can either regenerate the Makefiles, or change the existing files manually.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus