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.
% mkdir $HOME/jane_doe/toolkit/thor
% cd $HOME/jane_doe/toolkit/thor
% cp $DY_ROOT/contrib/src/c/thor/* .
jane_doe with your personal directory.
makefile. Note the following:
makefile_includeis included in this not-machine-dependent file.
libdt_smiles.so. This order is significant since functions must be linked after calls dependent upon them.
thordbpath.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 as exist for the other programs.
(tab here) $(CC) -o $@ $(CFLAGS) $@.o $(LIBS) $(SYSLIBS)
make thordbpathand test the program.
Daylight Chemical Information Systems Inc.