automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building object from .cc or .c based on conditional [PATCH]


From: Tom Tromey
Subject: Re: building object from .cc or .c based on conditional [PATCH]
Date: 03 Aug 2001 22:33:55 -0600

>>>>> "Richard" == Richard Boulton <address@hidden> writes:

Richard> Currently, if you attempt to build an object, say
Richard> foo.$(OBJEXT), from one of two separate source files, foo.cc
Richard> and foo.c, based on a conditional, automake fails with:
Richard> Makefile.am: object `foo.$(OBJEXT)' created by `foo.c' and
Richard> `foo.cc'

Richard> I don't see any reason why this should be prohibited, since I
Richard> think it could be implemented fairly easily.  I am therefore
Richard> proposing the following patch, which adds a test case to
Richard> check this behaviour to XFAIL_TESTS.

Thanks.  Please check this in.
I'm not sure it is entirely easy to check for this situation.
You can still be burned.

Sometimes I think we've been a bit overprotective though.  Maybe it is
ok to let the user burn himself.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]