Previous Next
Specifying the targets of a project

SNiFF+'s Make Support provides rules in the General Makefile for building the following types of targets in a project:

The following rules apply when specifying targets:
  • Any number of object files may be built in a project.

  • Of the other three target types--executable, relinkable object, library--only one of each may be built in a project.

Each project has only one default target. If only one of the targets mentioned above is built in a project, this target is the default target of the project. If several targets are built in a project, the first target in the order--executable, relinkable object, library, object file--is the default target of the project.
The default target of a project fulfills the following purposes:
  • It is used as the default target for many of the commands available in the Target menu.

  • Make builds the default target of the current project when you start a build without explicitly entering a target name, or when you execute make all in the Shell.

  • By properly exporting default targets (see following pages), the structure of your projects in SNiFF+ will be optimally suited for making full use of SNiFF+'s Make Support.