There is much useful code in the Daylight contrib directory, some useful as-is, and some useful as building blocks. This code also serves as examples of function usage and syntax.
$DY_ROOT/contrib/src/c/thor/
to your own directory, created for this purpose.
makefile
. Note the following:
makefile_include
is included in this not-machine-dependent file.
libdu.a
,
libdt_thor.so
,
libdt_datatype.so
,
libdt_ipcx.so
,
libdt_monomer.so
and
libdt_smiles.so
. This order is significant
since functions must be linked after calls dependent upon
them.
thordbpath.c
into this
directory. Modify the makefile
to incorporate
this program. This involves adding the program name to the
all:
line via the PROGS
macro
and adding dependency and rule lines as exist for the other
programs.
make thordbpath
and test the program.
Daylight Chemical Information Systems Inc.