Previous: Library Combination, Up: Common Variables [Contents]
OBJCFLAGS
are flags that are passed to the compiler when
compiling Objective-C files. The user can override this variable when
running make and specify different flags as the following command
illustrates:
make OBJCFLAGS="-Wno-implicit -Wno-protocol"
CFLAGS
are flags that are passed to the compiler when compiling
C files. The user can override this variable when running make and
specify different flags as the following command illustrates:
make CFLAGS="-Wall"
OPTFLAG
is the flag used to indicate the optimization level
that the compiler should perform when compiling Objective-C and C
files; this flag is set to ‘-O2’ by default, but the user can
override this setting when running make as the following command
illustrates:
make OPTFLAG=
This command sets the optimization flag to be empty so that no optimization will be performed by the compiler.
GNUSTEP_INSTALLATION_DOMAIN
is the domain where the package
will install its files; overriding this variable when running make
will change all of the variables within the Makefile Package that
depend upon it; the following command illustrates the use of this
variable:
make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
This command states that the SYSTEM
domain should be used as
the installation root directory; in particular applications in the
package will be installed in the $GNUSTEP_SYSTEM_APPS
directory, libraries in the package will be installed under the
$GNUSTEP_SYSTEM_LIBRARIES directory, command line tools will be
installed under the $GNUSTEP_SYSTEM_TOOLS directory, etc.
Depending on the filesystem layout, the various directories may be
located anywhere, which is why it’s important to also refer to them by
using variables such as GNUSTEP_APPS
, GNUSTEP_LIBRARIES
and GNUSTEP_TOOLS
, which automatically point to the right
directory on disk for this filesystem layout and installation domain.
By default the Makefile Package sets
GNUSTEP_INSTALLATION_DOMAIN
to LOCAL
.
messages
can be set to ‘yes’ in order to increase the
verbosity and see all the commands the make is executing.
make messages=yes
documentation
controls whether the documentation targets in
a project will be executed. If you don’t desire building the
documentation (which might require a working LaTeX installation, etc.)
you can set this to ‘no’. Otherwise the documentation will
be built.
make documentation=no
Previous: Library Combination, Up: Common Variables [Contents]