1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
This directory contains sample source code and Makefiles for compiling new
commands and objects into GENESIS. The procedure is documented in the
GENESIS Reference Manual Section "Customizing GENESIS", and in the text files
in the genesis/Doc directory, Customizing.doc, NewGenesis.doc, and
NewObjects.doc.
The files in this directory are:
Makefile - the edited library Makefile, derived from the template file
"Libmake"
command.c - source code for the function "do_example"
example.c - source code for the object "ExampleElement"
example_ext.h, example_struct.h - header files included by example.c
examplelib.g - library initialization script which makes new commands and
objects known to GENESIS (used only during compilation)
testexample.g - a GENESIS script to test the new object created here
The following files should go into parent directory of the one containing
the library files listed above:
Makefile.usermake - Upper level Makefile, derived from the template file
"Usermake" (should be renamed "Makefile")
|