Skip to content
Snippets Groups Projects
Commit b4b5c450 authored by Tobias S. Josefowitz's avatar Tobias S. Josefowitz
Browse files

[build] Use pattern rules for rules with additional deps

Suffix rules (according to GNU make at least) cannot have dependencies
of their own, old versions of GNU make ignored such dependencies,
current versions of GNU make warn about them (and ignore them), and
future versions of GNU make are announced to treat them as non-suffix
rules, i.e.

    .c.o: foo.h

would describe a rule to build .c.o from foo.h.

GNU make claims that pattern rules are what needs to be used in case
such rules have dependencies, so we shall give that a try.
parent 4161cc88
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment