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]

Re: automake confusing c and c++


>>> "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




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