[CLN-list] Additional Missing ".exe"s in Makefile(.in)s... [Was:
CLN vs weird mixture of Cygwin and MinGW [Was: ...]]
Richard Haney
rfhaney at yahoo.com
Wed Aug 16 00:32:33 CEST 2006
--- Sheplyakov Alexei <varg at theor.jinr.ru> wrote:
> > [...] error in regard to the
> > missing .exe extensions for executable targets in Makefiles.
>
> Autoconf does its job right, but CLN's tests/Makefile.in do not care
> about $(EXEEXT). Attached patch should fix this.
[...]
> > Index: cln-1.1.13/tests/Makefile.in
> ===================================================================
> --- cln-1.1.13.orig/tests/Makefile.in 2006-08-13 14:21:23.000000000
> +0400
> +++ cln-1.1.13/tests/Makefile.in 2006-08-13 14:56:16.000000000 +0400
[...]
Thanks.
I would think the patch should also extend to the executables in target
"clean" something as follows
clean : force
- $(RM) *.s *.o *.a exam tests main a.out core
+ $(RM) *.s *.o *.a exam$(EXEEXT) tests$(EXEEXT) main a.out core
$(RM) -r .libs _libs
I'm not sure about "main" or what its purpose is; no executable
"main.exe" (nor even a file "main") seems to be created in my build
even though there is a module "main.cc". Module "main.cc" looks like
it is designed for experimental testing of type conversion and/or
output, perhaps for debugging purposes.
Also, I would think a similar patch for examples/Makefile.in and
benchmarks/Makefile.in would also be appropriate since the associated
Makefiles are used to build executables in the associated directories.
Best regards,
Richard
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the CLN-list
mailing list