automake
[Top][All Lists]
Advanced

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

Difference between AM_CFLAGS, AM_CPPFLAGS, and AM_LDFLAGS


From: Stephen Torri
Subject: Difference between AM_CFLAGS, AM_CPPFLAGS, and AM_LDFLAGS
Date: 09 Sep 2002 22:33:40 -0500

I am just posting this to make sure I understand the difference between
these:

AM_CFLAGS - compile time flags
AM_CPPFLAGS - preprocessor flags (e.g. -I, -D)
AM_LDFLAGS - linker flags (e.g. -L)

I am working on a project that is updating its Makefile.am files. I see
a variety of flags in one variable like CFLAGS contains -I and -F flags
for example. I was wondering what is the advantage of doing this with
automake variables?

Stephen






reply via email to

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