Class Mkmf2::MfRule
In: mkmf2.rb
Parent: Object

This class provides a crude functionnality for defining a rule in a Makefile.


new   to_s  


dependencies  [RW] 
name  [RW] 
rule  [RW] 

Public Class methods

name:the name of the rule.
rule:a string or an array of lines; strings are split if necessary
deps:a string or an array of dependencies

Public Instance methods

converts this rule to a string that can be readily printed to the Makefile