Previous Next
Language Makefiles -- details

SNiFF+'s Language Makefiles are located in your $SNIFF_DIR/make_support directory. In it, you'll find the following Makefiles:

Language Makefile Description
general.link.mk
Rules for executable, relinkable object and library targets
general.c.mk
Rules for C, C++, pro*C/C++ compilers
general.fortran.mk
Rules for Fortran compiler
general.idl.mk
Rules for IDL compiler
general.java.mk
Rules for Java compiler
general.ada.mk
Rules for Ada compiler
general.yl.mk
Rules for yacc and lex
general.ilog.mk
Rules for ILog Broker preprocessor

Specifying Language Makefiles:

  1. To specify Language Makefiles for all new projects, choose Tools > Preferences.... To specify Language Makefiles for an existing project, open the project's Project Attributes dialog.
  2. Select the File Types node.
  3. Select the appropriate file type in the File Types List. If you need to first create one:
    • Select a file type in the File Types List whose attributes most closely match the new file type's attributes and press the New... button.
    • In the dialog that appears, give the new file type a name and press the Ok button.
    • Set the new file type's attributes.
  4. Select the new file type.
  5. Select the Build System tab.
  6. In the General Makefile field, enter the full path name of the Language Makefile for the file type, for example:
    $SNIFF_DIR/make_support/general.c.mk
    or
    Press the File... button and in the dialog that appears, navigate to the Language Makefile and press Open.
    When specifying multiple Makefiles, use spaces as delimiters.
  7. Press the Ok button.