- Target specific header files begin to get confusing.  You end up
having to have 100's of different copies of the same header file per
build target.

If you want to specify target specific defines, that's what the CFLAGS
setting is for.  Or, as in the bletiny case below, the project can
decide how many connections to allocate based upon available memory, or
another BSP hint.


I should have prefaced this with "IMHO." Lots of people do it the way Chris proposed. I'm just not a huge fan, as I start to get angry when I grep for a define, and I get tons of results and I'm not really sure where its coming from.

Actually, it would be great if there were a part of the newt tool that per-target could tell you what the value of a given '#define' would be. That would be freaking magic :-)

Sterling

Reply via email to