# Makefile Generation Options

The dialog contains two toggles labelled "New makefile" and "Makefile template". They 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.

See also:

- Generate dialog
- Primary Source File Options dialog
- About WorkShop Visual