[GRASS-dev] EXE_SUFFIX

Hi.
Can you tell me why EXE_SUFFIX was removed from Platform.make while
it was left in Module.make and other places?
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/include/Make/Platform.make.in.diff?r1=1.54&r2=1.55
Consequently executables on windows don't have .exe extension.
Can you please enable .exe extensions again?

Radim

Radim Blazek wrote:

Can you tell me why EXE_SUFFIX was removed from Platform.make while
it was left in Module.make and other places?
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/include/Make/Platform.make.in.diff?r1=1.54&r2=1.55
Consequently executables on windows don't have .exe extension.
Can you please enable .exe extensions again?

I changed the variable to $(EXE), as that tends to be more common (and
easier to read); EXE is set from EXEEXT, which is set by the AC_EXEEXT
autoconf macro.

I'll update Module.make accordingly.

--
Glynn Clements <glynn@gclements.plus.com>

On 9/21/06, Glynn Clements <glynn@gclements.plus.com> wrote:

Radim Blazek wrote:

> Can you tell me why EXE_SUFFIX was removed from Platform.make while
> it was left in Module.make and other places?
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/include/Make/Platform.make.in.diff?r1=1.54&r2=1.55
> Consequently executables on windows don't have .exe extension.
> Can you please enable .exe extensions again?

I changed the variable to $(EXE), as that tends to be more common (and
easier to read); EXE is set from EXEEXT, which is set by the AC_EXEEXT
autoconf macro.

I'll update Module.make accordingly.

EXE_SUFFIX is also used in other Makefile files where default
Module.make cannot be used, 53 files in total.

Radim

--
Glynn Clements <glynn@gclements.plus.com>

Radim Blazek wrote:

> > Can you tell me why EXE_SUFFIX was removed from Platform.make while
> > it was left in Module.make and other places?
> > http://freegis.org/cgi-bin/viewcvs.cgi/grass6/include/Make/Platform.make.in.diff?r1=1.54&r2=1.55
> > Consequently executables on windows don't have .exe extension.
> > Can you please enable .exe extensions again?
>
> I changed the variable to $(EXE), as that tends to be more common (and
> easier to read); EXE is set from EXEEXT, which is set by the AC_EXEEXT
> autoconf macro.
>
> I'll update Module.make accordingly.

EXE_SUFFIX is also used in other Makefile files where default
Module.make cannot be used, 53 files in total.

I only found 12 files, although the number of occurrences of
EXE_SUFFIX may have been 53.

In any case, I've changed those also.

FWIW, I changed it due to errors the last time I built on MinGW, where
(for whatever reason), EXE_SUFFIX wasn't being set.

--
Glynn Clements <glynn@gclements.plus.com>