Bo Peng wrote:
produce a hell lot of warning. It is not very important as, the way it
is now, the two first options take precedence over the "-Wall -O2". But
it is a bit ugly...

What about if I want to add profiling support (-pg option)?

I was trying to set some default flags for debug and release mode.
Without them, they are meaningless.

What I can offer is that if CCFLAGS and LINKFLAGS are provided, the
default ones will not be used. Will this be sufficient?

That seems fair enough.

Note that one
then has to be careful since certain flags should be provided, for
example, for msvs/debug to work.

Sure, I won't touch the msvc flags.

Abdel.

Reply via email to