Re: Make with $(filter-out $@,$(MAKECMDGOALS))

Lory Pelli <[email protected]> Fri, 31 Jul 2026 15:26:46 +0200
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <CAMoqPnW1uVAmMvA_zk+rDDdAW=LxF0Msm_qhK4TfGTHRNeC7_w@mail.gmail.com>
--0000000000008f934f0657e824d8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The same that happens if the arg doesn't start with a dash, because there
is a target valid name in front of it

Il ven 3 lug 2026, 00:35 Dmitry Goncharov <[email protected]> ha
scritto:

> On Thu, Jul 2, 2026 at 8:15=E2=80=AFAM Lory Pelli <[email protected]=
> wrote:
>
> > ~/Desktop/TestPHP> make composer test -a
> ...
> > I think this should be fixed, because args with one or more dashes in
> front of them are interpreted by make even if they shouldn't
>
> How do you think make is supposed to know not to interpret -a?
>
> regards, Dmitry
>

--0000000000008f934f0657e824d8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">The same that happens if the arg doesn&#39;t start with a=
 dash, because there is a target valid name in front of it</div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Il ven 3 lug 2026=
, 00:35 Dmitry Goncharov &lt;<a href=3D"mailto:[email protected]" rel=
=3D"noreferrer noreferrer" target=3D"_blank">[email protected]</a>&gt=
; ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jul 2, 2026 a=
t 8:15=E2=80=AFAM Lory Pelli &lt;<a href=3D"mailto:[email protected]" =
rel=3D"noreferrer noreferrer noreferrer" target=3D"_blank">pellilory126@gma=
il.com</a>&gt; wrote:<br>
<br>
&gt; ~/Desktop/TestPHP&gt; make composer test -a<br>
...<br>
&gt; I think this should be fixed, because args with one or more dashes in =
front of them are interpreted by make even if they shouldn&#39;t<br>
<br>
How do you think make is supposed to know not to interpret -a?<br>
<br>
regards, Dmitry<br>
</blockquote></div>

--0000000000008f934f0657e824d8--