The dialog contains four toggles and a scrolled list. The toggle labelled "Debugging" simply adds "-g" to the compiler flags, allowing the resulting application to be debugged more easily.
When you generate code in one language and then generate another set of code files in another language, all Makefiles generated afterwards will contain rules for both sets of generated files. Setting the "Current language only" toggle ensures that you are generating a Makefile for the current language only.
The two toggles labelled "New makefile" and "Makefile template" relate to the two different types of makefile that you can generate: a simple makefile and a makefile with templates. Which one is generated depends on the way in which the toggles in this dialog are set. The two toggles work in conjunction with one another. There are four ways they can be set:
1. The "New makefile" toggle is set and the "Makefile template" toggle is not set.
This generates a simple Makefile. You would use this option if you do not wish to add other design files to the application which the makefile will build.
2. Both toggles are set.
This generates a makefile with templates - i.e. with structured comments which serve as templates for updating the file on subsequent generations. Use this option if you are going to add other design files to the application which the makefile will build.
3. The "New makefile" toggle is not set and the "Makefile template" toggle is set.
This will add the current design code files to the Makefile which was generated as described in number 2 above.
4. Neither toggle is set.
This works in exactly the same way as number 3 above.
The scrolled list in the Makefile Options dialog allows you to generate a Makefile for a specific target platform. For some platforms more than one option is available, allowing for different environments. On Solaris, for example, you can choose compile your application for the 32-bit or the 64-bit architectures. The default for your platform is selected initially. Change this if you wish to generate a Makefile to build your application on another platform or if you wish to use a different compiler from the default. You can, of course, generate any number of different Makefiles to match the environments in which your application will be running.
See also: