next up previous contents index
Next: Linkage Up: Customizing makefiles Previous: Precious Targets   Contents   Index

Targets

The section all enumerates all targets for the special target all. If there is just one final binary, the associated macro is called just T and may be freely changed to the name of the executable. In case of multiple main modules, mmm generates a macro definition for each of them. Following example includes two main modules named Main1 and Main2:

# {all}
T_Main1 =       Main1
T_Main2 =       Main2
T =             $(T_Main1) $(T_Main2)
all:            $T

The macro names are derived from the module names and the values may be freely changed.



Andreas Borchert 2003-12-10