Martin> .c.o: $(CC) $(CFLAGS) ... @CC_C_O@ $<

Tom> This won't be sufficient.  Automake will need more information.

Akim> Such as?

Merely having a subst like that isn't good enough because automake
still has to support the general case.  So instead automake would want
some value it can check and then decide (at configure time, probably)
whether to invoke the compiler with "-c -o" or some wrapper which
makes a lock and then renames the resulting .o.

Akim> Tom, have you taken a look at the source file extension problem?

Not really.

Akim> What would Automake (or missing) need to know?

Whether the compiler can support the extensions actually in use by the
program.  This is an ugly problem because it involves feedback from
Makefile.am to configure.

Tom


Reply via email to