[Top][All Lists]

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

Defining variables shared between files

From: vicious3030
Subject: Defining variables shared between files
Date: Mon, 28 Sep 2009 15:01:28 -0700 (PDT)

I'm working on putting together my first automake project, 3 executables,
multiple convenience libraries, among a few folders.
It includes some third party libraries and header files that are stored
I'd like to have a central variable (thirdPartyPath=/home/blah/third) that
holds the path to this directory (as well as other include dirs) that can be
accessed by all's (mine_CPPFLAGS = -I$(thirdPartyPath)) so I
don't have to define it in every file. At the moment I can't seem to get the
.am files to share variable definitions. 

Additionally is there a way that I can have all the PROGRAMS build into one
common bin directory even though the sources and makefiles reside in
different folders?

View this message in context:
Sent from the Gnu - Automake - General mailing list archive at

reply via email to

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