This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
AM_CPPFLAGS vs INCLUDES
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: automake at gnu dot org
- Date: Thu, 20 Nov 2003 12:38:43 -0600 (CST)
- Subject: AM_CPPFLAGS vs INCLUDES
The Automake documentation claims that 'INCLUDES' is the equivalent of
'AM_CPPFLAGS'. However, I find that this is not the case at all. If
AM_CPPFLAGS is used, then any per-target CPPFLAGS option completely
overrides it. However, if INCLUDES is used, then per-target CPPFLAGS
options augment the value provided via INCLUDES.
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen