This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
automake confusing c and c++
- From: Philippe Trottier <philippe dot trottier at indagon dot com>
- To: automake at gnu dot org
- Date: Sun, 19 Dec 2004 13:17:39 +0200
- Subject: automake confusing c and c++
Hello,
I have built some conditional in the configure script so that I
would build on the needed/wanted libraries, and it seems that automake
get confused about my hello_cc.cc to be the source as it tries to
compile a "hello_cc.c" anyone can point me at what I am doing wrong ?
noinst_PROGRAMS =
if COND_CC
noinst_PROGRAMS += hello_c
hello_c_SOURCE = hello.c
endif
if COND_CXX
noinst_PROGRAMS += hello_cc
hello_cc_SOURCE = hello_cc.cc
endif
Phil