method

each_compile_rules

ruby latest stable - Class: MakeMakefile
each_compile_rules()
public

No documentation available.

# File lib/mkmf.rb, line 2053
  def each_compile_rules # :nodoc:
    vpath_splat = /\$\(\*VPATH\*\)/
    COMPILE_RULES.each do |rule|
      if vpath_splat =~ rule
        $VPATH.each do |path|
          yield rule.sub(vpath_splat) {path}
        end
      else
        yield rule
      end
    end
  end