This tutorial shows how to generate variable makefiles. Files needed for the build and compiler options will be added to the makefile.
For the tutorial a configurable program will be created which prints a given number or the square of the given number. A feature "Square" controls this behavior. Additional the build configuration can be switched between Debug and Release build. For the Debug build the profiling option can be enabled.