A generic Header class that installs header files into $(PKGINCLUDEDIR)
# File lib/makeconf/header.rb, line 5 def initialize(options) raise ArgumentError unless options.kind_of?(Hash) # KLUDGE - parent constructor will barf unless we delete our # custom options @namespace = options[:namespace] options.delete :namespace super(options) end
# File lib/makeconf/header.rb, line 26 def compile(cc) mk = Makefile.new mk.distribute(@sources) return mk end
Generated with the Darkfish Rdoc Generator 2.