-
Tobias S. Josefowitz authored
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.
Tobias S. Josefowitz authoredSuffix 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.