On Tue, Oct 29, 2002 at 03:15:24PM -0800, Brian Ingerson wrote: > I'm looking into building a pure Perl version of gmake. It will use object > oriented modules. You could use these yourself to parse and rewrite the > Makefile. And you could always serialize the object in YAML.
You could get a headstart by adopting and extending Nick I-S's pmake http://search.cpan.org/author/NI-S/Make-1.00/pmake Performs the same function as make(1) but is written entirely in perl. A subset of GNU make extensions is supported. For details see Make for the underlying perl module. athough I still wonder why we are thinking about how to hack round non portability in make, with perl programs communicating with other perl programs via makefiles, when we could just ditch Makefiles completely by integrate the MakeMaker and make stages. Nicholas Clark