Generating makefiles

IBM® Engineering Systems Design Rhapsody® generates plain makefiles that include the list of files to be compiled and linked, their dependencies, and the compilation and link command.

About this task

The product generates makefiles when it generates the target file. The <lang>_CG::<Environment>::InvokeMake property defines how to execute the makefile. You can customize the content of the makefile by modifying the <lang>_CG::<Environment>::MakeFileContent property. See the definition provided for these properties on the applicable Properties tab of the Features window.
Note:

If you are developing an application for INTEGRITY, you must carry out one of the following steps in order to have a makefile generated correctly:

  • Set the value of the property lang_CG::(INTEGRITY environment)::IntegrityRoot to the path of your INTEGRITY installation, for example, C:\GHS\int504
  • Define an environmental variable called $INTEGRITY_ROOT that points to your INTEGRITY installation and use $INTEGRITY_ROOT as the value of the property lang_CG::(INTEGRITY environment)::IntegrityRoot