pgmake-db

Simple parser for Makefiles

Install

All systems
curl cmd.cat/pgmake-db.sh
Debian Debian
apt-get install libmakefile-parser-perl
Ubuntu
apt-get install libmakefile-parser-perl
CentOS
yum install perl-Makefile-Parser
Fedora
dnf install perl-Makefile-Parser
Windows (WSL2)
sudo apt-get update sudo apt-get install libmakefile-parser-perl
Raspbian
apt-get install libmakefile-parser-perl

perl-Makefile-Parser

Simple parser for Makefiles

libmakefile-parser-perl

simple Perl Makefile parser

Makefile::Parser a simple Perl Makefile parser, able to parse most of syntax constructs supported both by Microsoft Nmake and GNU Make: variable definitions, explicit and implicit rules, substitution references and a subset of GNU make functions.