Servertec Target
M E N U

Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iMake
Make Files
Constants
Identifiers
Operators
Directives
Statements
Assignment
Inference
Target

Macros
Legal
Feedback

 


Tells the make processor which file(s) a target depends on.

Syntax

    target: srcfile { depfile }...

Notes

    target the target file to build.
    srcfile the source file to use.
    depfile any file(s) which the target file depends on.

Notes

    After inference statement definitions, a make file contains one or more target definitions. Each target definition tells iMake the file to make and what source files it is build with.

    Targets can either be the name of the file to make or a label.

    iMake allows for a target to be specified, if none is then iMake uses all as the default target to make.

Example

    all:    pp.exe ss.exe
    
    pp.exe: pp.obj isup.lib
    pp.obj: pp.c pp.h $(INCLUDES)
    
    ss.exe: ss.obj isup.lib
    ss.obj: ss.c ss.h $(INCLUDES)
    
top of page
Built with iMake Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Sun Aug 23 19:52:09 PDT 1998