Make Support Files
By default, Make Support Files are stored in the
.sniffdir
subdirectory of each SNiFF+ project directory. You can specify another directory in which SNiFF+ should store generated Make Support files in your Project Attributes > Build Options > Advanced view, Other directory field. Please note that this path must be relative since absolute paths aren't currently supported. Once you've specified another directory for Make Support files, you must manually enter the path to this directory in your project Makefiles.
SNiFF+ uses a project's Make information, such as include path and dependencies information, to generate Make Support Files. The macros defined in Make Support Files are then used by the different types of SNiFF+ Makefiles to build a project's targets.
There are four Make Support Files:
- Dependencies file (dependencies.incl) -- Lists all dependencies between source files
in the project.
- Macros file (macros.incl) -- Contains e.g. target names, include path information and
linked libraries information for the project.
- Include file (include.incl) -- Includes those Language Makefiles needed for building the
targets of a project.
- Platform Make Support file ($PLATFORM.incl) -- Contains information about the path
to the redirection directories.
All Make Support Files except for Include file are automatically included by Project Makefiles. The Include file Make Support File is included by the General Makefile.
For details about the macros defined in Make Support Files, please refer directly to the files.