[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.7.4 Implicit rules to avoid

Mosmake defines a number of implicit rules (see section `Implicit' in The GNU make manual) for its internal purposes. Due to the structure of make's rule database, you cannot define your own rules for target-dependency relations that match the internal rules. It is OK to write explicit rules for files that would otherwise match one of Mosmake's implicit rules, but remember to give the rules some commands, if only an empty sequence of commands (wich is different from no command sequence).

`%.sml' to `%.ui' and/or `%.uo'
For technical reasons Mosmake has to use a pattern rule for this, but it depends on several internal variables, so you cannot use it for `.sml' files whose compilation is not handled by Mosmake.

`%.lex' to `%.sml'
Mosmake has a rule to invoke mosmllex; see 2.5.1 The mosmllex lexer generator. At the time of this writing it can also be used outside Mosmake-managed compilations, but do not count on this to stay true in future versions of Mosmake.

`%.grm' to `%.sml' and/or `%.sig'
Mosmake has a rule to invoke mosmlyac; see 2.5.2 The mosmlyac parser generator. At the time of this writing it can also be used outside Mosmake-managed compilations, but do not count on this to stay true in future versions of Mosmake.

`%' to `%,smartmade'
This rule serves as an enabler for the Smartmake logic; see 2.2.6 The "smartmake" feature.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Henning Makholm on November, 19 2002 using texi2html