Make Variables

Other make variables are:

LIB - this is the name of the library, also used to construct the .a target (e.g lib$(LIB).a)

$(LIB)DEPENDS_ON_LIBS - This is the list of libraries that this library DIRECTLY depends on. Usually it should be ok looking for #include fields checking if this lib directly depends on another library.

$(LIB)PUBLIC_HEADERS - the list of header files contained within this library that should be copied when the library is built or released.

$(LIB)PRIVATE_HEADERS - the list of header files contained within this library that should NOT be copied when the library is built or released.

$(LIB)SRCS - the list of source files contained within this library.

$(LIB)INC - the path used to search for include files.

$(LIB)DIR - base directory for the library

$(LIB)HEADER_PREFIX - the prefix that should be used when referencing a library header file using #include

$(LIB)USER_FFLAGS - FORTRAN compiler flags

$(LIB)USER_CFLAGS - C compiler flags

$(LIB)USER_CXXFLAGS - C++ compiler flags

Environment variables used within all makefiles:

Flags :

ARCH_CFLAGS - C compiler flags

ARCH_CXXFLAGS - C++ compiler flags

ARCH_FFLAGS - flags to the FORTRAN compiler

Compilers :>

CXX - C++

CC - C

FF - FORTRAN

Other variables :

RELEASE_DIR - it determines where where to release an application when "release" target has been definied

RM - usually used to remove one or more files

CP - usually used to copy one or more files

USEPURIFY - if set to anything, then the purify linker is used

USEQUANTIFY - if set to anything, then the quantify linker is used

XRTHOME - used to find path for XRT authorization

The developer is able to choose from two other variables that will semplify his work:

$(CURDIR)

This variable substitute the building folder (usually used in debian/rules file), to avoid errors while building the final package.

DESTDIR

This variable defines which will be the destination directory to make install applications files,for example, inside install target in debian/rules.

Other informations about variables can be found here: http://www.gnu.org/software/make