## -*- mode: Text -*-
##
## Copyright (c) 2000, 2001 University of Utah and the Flux Group.
## All rights reserved.
## 
## Permission to use, copy, modify, and distribute this file
## for any purpose with or without restriction is hereby granted.
##

###############################################################################

The `hello' example demonstrates the simple use of Knit to define and create
the perfunctory ``Hello, World!'' program.

The `configure' script in the topmost directory of the Knit source tree will
create the `GNUmakefile' for this example program.  After configuring and
building the Knit compiler itself, a simple `make' in this example directory
will run Knit to create the `hello' program.

The files that make up this example:

	GNUmakefile.in		The (template) Makefile for the program.
				For the most part, this file simply includes
				`GNUmakerules'.

	GNUmakerules		The ``real Makefile.''  The Knit compiler is
				run to create `knit_generated.mk', which
				contains the Knit-generated rules for building
				the `hello' program.  As part of creating this
				rule file, Knit processes the `hello.unit' file
				and outputs everything else that is needed to
				build the `hello' program.

	hello.c			The usual source code for the ``Hello, World!''
				program.

	hello.unit		The Knit unit file that describes the
				components of the `hello' program.  Read the
				comments in the file itself to see how the
				program components are defined and assembled.

###############################################################################

## End of file.

