Next: Example ObjC Makefile, Previous: objc.make, Up: objc.make [Contents]
Most of the project variables work the same as in Library projects (see library.make).
OBJC_PROGRAM_NAME
is the list of names of Objective-C programs
that are to be built; each name should be unique as it is the name of
the executable file that will be generated.
xxx_OBJC_LIBS
is the list of additional libraries that the linker
will use when linking to create the xxx Objective-C program
executable file. These libraries are specific to the xxx
Objective-C program, see ADDITIONAL_OBJC_LIBS,
to see how to specify additional global libraries. These libraries are
placed before all of the Objective-C Runtime and system libraries, and
before the global libraries specified with ADDITIONAL_OBJC_LIBS
,
so that they will be searched first when linking. The additional
libraries should be specified as ‘-l’ flags to the linker as the
following example illustrates. Replace the xxx with the name
of the program as listed by the OBJC_PROGRAM_NAME
variable.