Expand description
§omake
This is the library component of the project, responsible for parsing and executing makefiles.
Re-exports§
pub use compat::Compat;pub use error::MakeError;pub use logger::DefaultLogger;pub use logger::Logger;pub use logger::context::Context;pub use makefile::Makefile;pub use makefile::opts::Opts;pub use vars::Env;pub use vars::Origin;pub use vars::Vars;
Modules§
- compat
--compat: the make-emulation target. Currently it selects the diagnostic-output format so omake can match GNU make or bmake byte-for-byte (for scripts/tools that parse a specific make’s output, and to measure real conformance rather than format noise). omake keeps its own clean output by default (Native). Behavioral emulation of the genuine GNU↔BSD divergences may extend this later.- error
- Error type for the parser/executor.
- expand
- Implementation of variable expansion.
- glob
- Filename globbing (
*,?,[...]), matching the semantics ofglob(3)as GNU make uses it. - logger
- Generic logging facility with a default implementation.
- makefile
- The core logic for parsing and executing makefiles.
- makeflags
- Encode and decode the
MAKEFLAGSvariable in GNU make’s canonical form. - vars
- A wrapper for a
HashMapstoring the environment variables during makefile parsing.