Follow-up Comment #1, bug #63241 (project make):

i'd prefer to keep make language free of imperative constructs. Once you give
them "if", they'll want "for" and "break" and "exit", etc.
In my experience, it is better to avoid code like
ifneq ($(filter %clean clobber,$(MAKECMDGOALS)),).
This piece of code is an example of an imperative construct.

There are make tools, like target specific variables, implicit rules, pattern
matching, etc which often solve the task at hand and reduce complexity.


Reply to this item at:


Message sent via Savannah

Reply via email to