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


Tom Tromey writes:
> >>>>> "Lars" == Lars Hecking <lhecking@nmrc.ucc.ie> writes:
> 
> Lars>  I don't agree with Alexandre either. I'd very much prefer a method
> Lars>  which allows per-object CFLAGS. Eg. when only one of the source files
> Lars>  needs compilation with a certain -I or -D option. Only the minimal
> Lars>  necessary set of CFLAGS should in the compile rule for every object.
> 
> This is on the to-do list, but I don't know how important it really
> is.  It adds more complexity to the implementation (what if there are
> per-object and per-exe flags?).  The gain seems smaller compared to
> per-exe and per-lib flags.

 I have actually abandonded the only case where I needed per-object
 CFLAGS. Is was becoming unpractical, especially with ansi2knr support.


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