Previous Next
SNiFF+ help targets

This section only applies if you use SNiFF+'s Make Support. If you use your own Makefiles, please refer to Using Your Own Makefiles.

Your SNiFF+ installation's General Makefile defines rules for building a number of special targets known as help targets. These targets are used by SNiFF+ in a number of situations, such as when you build targets using Make Support and update your working environments. Note that you can view a complete listing of all help targets by:

In this section, you will learn how to use some of SNiFF+'s help targets for cleaning up your working environments and making symbolic links (on Unix only).

    Note
    All the help targets listed here work recursively. That is, when you build one of the help targets in a project, the target is also built in each of the recursive subprojects listed for the project in the Recursive Make Dir(s) field in the Build Options > Build Structure view of the Project Attributes dialog.

Cleaning up working environments with help targets
Here's a list of the help targets you can use for cleaning up working environments:

Creating symbolic links (local copies) with help targets

    On Windows
    Symbolic links are not supported. As a result, SNiFF+ creates local copies instead of symbolic links. If disk space is an issue, please use the above help targets with care.

Here's a list of the help targets you can use for creating symbolic links. Note that all these targets are built in the current project directory and all recursive subproject directories in the current working environment, so directories above it are not affected:

Building the help targets
To build help targets, please complete the following steps:
  1. Open the project for which you want to build help targets.
  2. Update Make Support Files:
  3. Choose the Update Makefiles... command from the Target menu.
  4. Press the OK button in the dialog that appears to update the project's dependencies information.
    SNiFF+ generates or updates the Make Support Files of all projects checkmarked in the Project Tree.
  5. Use SNiFF+'s Target > Make... walking menu to build the following targets:
    • symbolic_links
    • clean_targets
    • clean
    • help
  6. To build the other targets, open a SNiFF+ Shell tool and execute the following:
    • On Unix: gmake <help_target_name>
    • On Windows NT/95: sniffmake <help_target_name>