Re: Change a flag for a specific file

2006-10-12 Thread Sylvestre Ledru
Le mercredi 11 octobre 2006 à 16:46 +0200, Ralf Wildenhues a écrit : > * Sylvestre Ledru wrote on Wed, Oct 11, 2006 at 04:35:49PM CEST: > > > > Here is what I did : > > noinst_LTLIBRARIES = libdummy-lapack.la > > libdummy_lapack_la_SOURCES = dlamch.f > > libdummy_lapack_la_FFLAGS = -O0 > > > > Th

Re: Change a flag for a specific file

2006-10-11 Thread Ralf Wildenhues
Hello Sylvestre, * Sylvestre Ledru wrote on Wed, Oct 11, 2006 at 04:35:49PM CEST: > > Here is what I did : > noinst_LTLIBRARIES = libdummy-lapack.la > libdummy_lapack_la_SOURCES = dlamch.f > libdummy_lapack_la_FFLAGS = -O0 > > This solution gives me : > /bin/sh ../../libtool --tag=F77 --mode=co

Re: Change a flag for a specific file

2006-10-11 Thread Sylvestre Ledru
Le lundi 07 août 2006 à 15:39 +0200, Ralf Wildenhues a écrit : > * Sylvestre Ledru wrote on Mon, Aug 07, 2006 at 03:17:56PM CEST: > > > If it is even important to you to have _only_ one file compiled with > this flag, say bar.f, while all the others do not get this flag, you > could make the comp

Re: Change a flag for a specific file

2006-08-22 Thread Sylvestre Ledru
Le mardi 22 août 2006 à 13:31 +0200, Ralf Wildenhues a écrit : > It would be helpful if you did not omit the name and date of the quoted > part (makes searching for context much easier), thanks. Sorry for this > * Sylvestre Ledru wrote on Tue, Aug 22, 2006 at 12:50:40PM CEST: > > > > > If it is

Re: Change a flag for a specific file

2006-08-22 Thread Ralf Wildenhues
Hello Sylvestre, It would be helpful if you did not omit the name and date of the quoted part (makes searching for context much easier), thanks. * Sylvestre Ledru wrote on Tue, Aug 22, 2006 at 12:50:40PM CEST: > > > If it is even important to you to have _only_ one file compiled with > > this fl

Re: Change a flag for a specific file

2006-08-22 Thread Sylvestre Ledru
> If it is even important to you to have _only_ one file compiled with > this flag, say bar.f, while all the others do not get this flag, you > could make the compilation of bar.f special by putting it in a (not > installed) library. For example: > bin_PROGRAMS = foo > foo_SOURCES = foo.f >

Re: Change a flag for a specific file

2006-08-07 Thread Sylvestre Ledru
> > A quick question, I would like to be able to change one compilation flag > > for one file. > > I have a few fortran files which don't work (but can be compiled) with > > the optimisation flag (-O). > > You can use per-target flags for this, if you have to. > (I say "if you have to", because in

Re: Change a flag for a specific file

2006-08-07 Thread Ralf Wildenhues
Hello Sylvestre, * Sylvestre Ledru wrote on Mon, Aug 07, 2006 at 03:17:56PM CEST: > > A quick question, I would like to be able to change one compilation flag > for one file. > I have a few fortran files which don't work (but can be compiled) with > the optimisation flag (-O). > Thus, I would lik

Change a flag for a specific file

2006-08-07 Thread Sylvestre Ledru
Hello, A quick question, I would like to be able to change one compilation flag for one file. I have a few fortran files which don't work (but can be compiled) with the optimisation flag (-O). Thus, I would like to disable the -O flag just fort those files. Is it possible to do that with automake