File: README

package info (click to toggle)
genesis 2.1-1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 14,288 kB
  • ctags: 10,667
  • sloc: ansic: 111,959; makefile: 2,240; yacc: 1,797; lex: 976; csh: 54; sh: 13
file content (25 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download
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")