[m-rev.] for review: keep the invocation automatically up-to-date
Julien Fischer
jfischer at opturion.com
Mon Jul 21 00:18:29 AEST 2025
On Mon, 21 Jul 2025 at 00:08, Zoltan Somogyi <zoltan.somogyi at runbox.com> wrote:
>
>
>
> On Mon, 21 Jul 2025 00:02:56 +1000, Julien Fischer <jfischer at opturion.com> wrote:
> > +ifdef BUILD_SRCDIST
> > +UG_INVOCATION_DEP=
> > +UG_INVOCATION_MC=$(MC)
> > +else
> > +UG_INVOCATION_DEP=../compiler/mercury_compile$(EXT_FOR_EXE)
> > +UG_INVOCATION_MC=../compiler/mercury_compile
> > +endif
>
> The diff is fine. I am just curious: why no $(EXT_FOR_EXE) suffix on
> UG_INVOCATiON_MC?
The .exe extension is not required to invoke the executable and won't be
present in the name of the Java and C# launcher scripts. It is probably
required by make for the dependency. I need to look into what is happening
on Windows here, the above is almost certainly not correct for the non-C grades
on that OS.
Julien.
>
> Zoltan.
>
More information about the reviews
mailing list