Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brings variables into line with GNU make in various ways, including:
$A
for single-letter variable names,$(ABC)
for multi-letter variable namesABC=foo
syntaxABC := $(DEF)
defines a simply expanded variable, which means$(DEF)
is evaluated at the time of assignment. This was the former defaultABC = $(DEF)
defines a recursively expanded variable, which just means$(DEF)
is evaluated whenever$(ABC)
is used (I think of this as lazy evaluation, rather than being particularly recursive; hopefully I have not misunderstood what GNU make is doing here)ABC ?= $(DEF)
is a conditional variable assignment, so variableABC
is only overwritten if it has not already been set (e.g. on the command line):=
and?=
so you can also use them in the Prolog dialect ofmakespec.pro
makeprogsAlso added
makespec.pro
, then a GNUMakefile
)include
directives for GNU Makefiles, so you can recursively include makefiles inside other makefiles, as per hereinclude
'd filesProlog is kicking my arse in general, I am still only half-understanding most of the code, but this all seems to work... famous last words.