This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]