This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to include $(CFLAGS) into specflags


On May 24, 1999, Pavel Roskin <pavel_roskin@geocities.com> wrote:

> As I already wrote, the current implementation of per-executable flags
> doesn't include $(CFLAGS) in the command line.

AFAICT, this is intentional, so that you can actually *replace* a
generic CFLAGS with a program-specific one.  If you want to *add*, you 
have to use:

prog_CFLAGS = $(CFLAGS) -prog-specific-flags

> The attached patch simplifies the rules used for compilation of
> executable-specific objects.

Because we really want to remove CFLAGS, we can't use COMPILE and
LTCOMPILE.  IMO, this is unfortunate, but I don't think we can get
around this :-(

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]