binary

This target creates dependencies for a Taligent application, generates all make dependencies for creating a Taligent application, and builds an executable/library pair with all sources in the library.

Syntax

      binary name {
      }

Argument name The name of the target, and the name used as a prefix for makefile variables, include lists, and dependencies.

An unsupported version of this target is available with the ubinary keyword. Unsupported targets are similar to supported targets, except that they are not built in the normal build process (Makeit) and require the specified target to be explicitly stated for the build to occur.

Example

Produce a makefile for compiling the three source files, link them together with standard Taligent libraries, and create a main program binary and a shared library containing most of the code. Both contain the name MyApp:

      binary "MyApp" {
      source:
          main.c
          TMyApp.c
          TMyView.c
      }
NOTE binary is a synonym for program.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker