[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
building object from .cc or .c based on conditional [PATCH]
From: |
Richard Boulton |
Subject: |
building object from .cc or .c based on conditional [PATCH] |
Date: |
Thu, 2 Aug 2001 03:06:34 +0100 |
User-agent: |
Mutt/1.2.5i |
Currently, if you attempt to build an object, say foo.$(OBJEXT), from one
of two separate source files, foo.cc and foo.c, based on a conditional,
automake fails with:
Makefile.am: object `foo.$(OBJEXT)' created by `foo.c' and `foo.cc'
I don't see any reason why this should be prohibited, since I think it
could be implemented fairly easily. I am therefore proposing the following
patch, which adds a test case to check this behaviour to XFAIL_TESTS.
It seems low priority, but worth keeping track of in this way.
--
Richard
patch4
Description: Text document
- building object from .cc or .c based on conditional [PATCH],
Richard Boulton <=