Hello,

how can I force automake to use special CFLAGS for certain source-files?
E.g. consider

| noinst_PROGRAMS =  foo
| foo_SOURCES     =  a.c b.c

where b.c needs special flags (e.g. '-Wno-error' because a foreign
headerfile breaks '-Werror' builds or '-O0' to circumvent compiler-bugs
or '-fomit-frame-poiner' in a memory-debugger implementation).

I know about 'foo_CFLAGS' but this would set flags for a.c also. Does
there exists an "official" solution for this problem?



Thanks
Enrico

Reply via email to