makefile-lossless 0.3.25

Lossless Parser for Makefiles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
Lossless parser for Makefiles
=============================

This crate provides a lossless parser for makefiles, creating a modifiable CST.

Example:

```rust

let mf = Makefile::read("Makefile").unwrap();

println!("Rules in the makefile: {:?}", mf.rules().map(|r| r.targets().join(" ")).collect::<Vec<_>>());
```