
makesimple - De-sugar GNU makefiles to its simplest form using the GmakeDB parser

$ makesimple -f myGNUmakefile.mk > simplest.mk

The makesimple script is a makefile simplifier. It converts a full-fledged GNU makefile to a highly de-sugared basic makefile which is almost a call-path tree dump.

For the very latest version of this script, check out the source from
http://github.com/agentzh/makefile-parser-pm.
There is anonymous access to all.

Zhang "agentzh" Yichun, <agentzh@gmail.com>

Copyright (c) 2005-2008 by Zhang "agentzh" Yichun (agentzh).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Makefile::Parser::GmakeDB, Makefile::AST, Makefile::AST::Evaluator.