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.
cp * $HOME/toolkit/thor
makefile. Note the following:
makefile_includeis included in this not-machine-dependent file.
libdt_smiles.a. This order is significant since functions must be linked after calls dependent upon them.
thorsearch.cinto this directory. Modify the
makefileto incorporate this program. This involves adding the program name to the
all:line via the
PROGSmacro and adding dependency and rule lines, such as:
TLOBJS = thorload.o
(tab here) $(CC) -o $@ $(CFLAGS) $(TLOBJS) $(LIBS) $(SYSLIBS)
make thorsearchand test the program.
Daylight Chemical Information Systems Inc.