automake
[Top][All Lists]
Advanced

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

automake confusing c and c++


From: Philippe Trottier
Subject: automake confusing c and c++
Date: Sun, 19 Dec 2004 13:17:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.3) Gecko/20041031


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





reply via email to

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