Updated over 11 years ago by Knödlseder Jürgen
Development HowTo¶
How to add a new ctool¶
Follow the steps below to add a new ctool:- step into
srcand copy an existing ctool, e.g.cp -r ctselect ctnewtool - step into the new direction (here
cd ctnewtool) and rename all files to the new names - adapt the
Makefile.amto the new names - go back to
srcand add the new tool inMakefile.am: add a line toSUBDIRSwith the name of the new subdirectory, and add the corresponding library tolibctools_la_LIBADD - go to the
ctoolsroot directory and add a entry toAC_CONFIG_FILESlist in theconfigure.acscript (at the end of the section) (here the entry to be added would besrc/ctnewtool/Makefile - now regenerate the configuration and Makefiles using
./autogen.sh - then reconfigure using
./configure - now build using
make