automake
[Top][All Lists]
Advanced

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

per-directory options


From: NightStrike
Subject: per-directory options
Date: Thu, 18 Sep 2008 14:01:19 -0400

Does automake yet support doing something like this?:

mylibdir_LIBRARIES=liba.a libb.b
mylibdir_CPPFLAGS=-m32

mylibdir_liba_a_SOURCES=a.c
mylibdir_libb_a_SOURCES=b.c

that is, allowing me to avoid the two lines:

mylibdir_liba_a_CPPFLAGS=-m32
mylibdir_libb_a_CPPFLAGS=-m32


I know I ask about it a lot, and I remember seeing posts about it
awhile ago that looked promising regarding getting that feature.  When
you have many libs in one directory that all share a feature, it's
extremely convenient to define that once (and yes, I'm aware of the
workaround to toss -m32 in a variable and add that variable to each
xxxx_CPPFLAGS line.... that's missing the point)




reply via email to

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