I'm running autoconf-2.53, automake-1.6.2, and libtool-1.4d.
If I have a source, x.c, the following automake snippet will
not work (it invokes gcc on x.c, instead of g++ on x.cc;
and the .deps/x.Po file contains just #dummy)
bin_PROGRAMS = x
x_SOURCES = x.cc
.c.cc:
$(LN_S) $< $@
But the following will work:
bin_PROGRAMS = x
x_SOURCES = x.C
.c.C:
$(LN_S) $< $@
Is this a bug, or am I doing something wrong?
Oddly, the .c.cc: suffix rule works when building
libraries.
- Ted
