This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake confusing c and c++
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: Philippe Trottier <philippe dot trottier at indagon dot com>
- Cc: automake at gnu dot org
- Date: Mon, 20 Dec 2004 10:11:12 +0100
- Subject: Re: automake confusing c and c++
- References: <41C56353.2020007@indagon.com>
>>> "Philippe" == Philippe Trottier <philippe.trottier@indagon.com> writes:
[...]
Philippe> if COND_CC
Philippe> noinst_PROGRAMS += hello_c
Philippe> hello_c_SOURCE = hello.c
Philippe> endif
Philippe> if COND_CXX
Philippe> noinst_PROGRAMS += hello_cc
Philippe> hello_cc_SOURCE = hello_cc.cc
Philippe> endif
s/_SOURCE/_SOURCES/
If no `target_SOURCES' variable is specified it defaults to `target.c'.
--
Alexandre Duret-Lutz