makefile_parser_rs 0.1.0

Rust library to parse Makefiles, with variables supported.
Documentation
1
2
3
4
5
6
7
8
9
10
11
# This is a simple Makefile

CC = gcc
CFLAGS = -Wall

main: main.cpp my_class.cpp
    clang++ -Wall -o main main.cpp my_class.cpp
    $(CC) $(CFLAGS) -o some_target dependency1 dependency2

another_target: dependency3
    @echo "Building another target"