From: Earnie B. <ear...@ya...> - 2002-10-25 12:09:37
|
Marc Kealy wrote: > > Basically, I want to write a program to generate the options during the make > procedure and then have those options included on the gcc command line. > Using a specs file over-rides the default specs (which I don't want to do). > It also means I'd have to sort through the options to determine where they > belong in the specs, which is, quite frankly, making a musical out of a song > and dance. > > I think the easiest way of doing it is by creating an environmental variable > and including that on the command line. I'm sure there must be a better way > though. > Check the make documentation for CPPFLAGS, CFLAGS and CXXFLAGS. Earnie. |