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: Target-specific CFLAGS


From: automake-bounces+scott.b.drummonds=intel.com@gnu.org 
> <quote>
> noinst_LIBRARIES = normal.a normal-feature.a
> 
> normal_a_SOURCES = [bunch of files]
> normal_feature_a_SOURCES = $(normal_a_SOURCES)
> normal_feature_a_CFLAGS = -DFEATURE
> </quote>
...
> Where have I gone wrong?

Of course, when my source files are C++ files the _CFLAGS extension does
nothing.  Changing this to _CPPFLAGS fixed the problem.  Duh.

Sorry for the mails, all.

Scott




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