Definition is a compilation description in which options and dependencies for all module files are specified. It can either be stored in $INSTROOT/sys/desc or in $INSTROOT/sys/src/Globals.


VMAKE interprets for each module the corresponding compilation description to determine dependencies and options for these. If there are options or dependencies that apply to all module files, they do not have to be listed in each compilation description, they can be defined globally in instead. The syntax is the same as for all other compilation descriptions.


The $INSTROOT/sys/src/Globals/ file has the following entries:

*.cpp -OPT=-O2

For all C++ files, the optimization for the compilation is set to -O2.

*p dep=:ptoc/ptoc_h

All Pascal files are dependent on the src/ptoc/ptoc_h module file.