To build a simple AST program that doesn't use graphics, use:
cc program.c -L/star/lib -I/star/include `ast_link` -o program
To build a program which uses PGPLOT for graphics, use:
cc program.c -L/star/lib `ast_link -pgplot` -o program
For more details about accessing the ``ast.h'' header file, see
. For more
details about linking programs, see
and the
description of the ``ast_link'' command in
.
AST A Library for Handling World Coordinate Systems in Astronomy