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:

  <https://savannah.gnu.org/bugs/?63241>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to