[haiku-development] Re: Build flags

On 2008-04-22 at 20:10:02 [+0200], Duane Ryan <bailey.d.r@xxxxxxxxx> wrote:
> Yes, but the ObjectCc/C++Flags is *limited* to single object files,

You can pass multiple files at once to those. So the writing overhead is very 
small, if you use a variable for you source files:

local sources = ... ;
ObjectCcFlags $(sources) : ... ;
Application app1 : $(sources) : ... ;

> and the
> jam build system is used explicitly to avoid using things such as CCFLAGS.

If you ask me, using CCFLAGS in Haiku's build system is just fine (one of the 
advantages of the config variables concept). In other jam-based build systems 
setting those variables might cause problems, though.

CU, Ingo

Other related posts: