[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63241] implement "exit" in makefile parsing

From: Dmitry Goncharov
Subject: [bug #63241] implement "exit" in makefile parsing
Date: Thu, 20 Oct 2022 17:20:02 -0400 (EDT)

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

[Prev in Thread] Current Thread [Next in Thread]