|
From: | Adrian Muresan |
Subject: | How to write rule that gets all items referenced in a given makefile |
Date: | Tue, 5 Jul 2016 16:50:09 +0000 |
Is there a built-in function to extract all the prerequisites for target in a makefile? I could probably make a rule that will parse the makefile as a textfile from the shell but since `make` already parses the targets and prereqs I'm hoping there's a built-in way.
[Prev in Thread] | Current Thread | [Next in Thread] |