>>>>> "Carl" == Carl van Schaik <[EMAIL PROTECTED]> writes:

Carl> I am at present trying to get automake to build a library that
Carl> contains various source files (.c, .s) that I want to compile
Carl> with different compilers. Automake no matter what I have done,
Carl> sees the suffix (.c, .s) and automatically starts to compile it
Carl> with gcc.  If I force the $(COMPILE) variable, the as complains
Carl> about the "-c" which is inserted for gcc.

Carl> Is there any nice way to fix this?

I'm not sure I understand what you are asking.
Are you asking how to make it so .s files aren't compiled with the C
compiler?
I agree this is an automake bug (of long standing).
You can probably make your own ".s.o" rule.
Or make your own rule on a per-object basis.

Tom

Reply via email to