Here is the beginning of a map for the source code. At the top level
(in your deft/ directory), there are a number of files, as well as a
few directories.
Of the files that live in the top-level directory, only a couple are very important:
autogen.shis run to initialize everything, and generate theMakefilethat is used to build deft. You only need to runautogen.shonce in each copy of deft that you have, so it's easy to overlook.Makefile.amis the "makefile" that is used byautogen.sh(which itself runs automake to generate the actualMakefile. You will probably need to edit this file, if you add new source code files to deft. Its syntax is a bit weird, so usually you just want to find something similar that is already there, and copy and paste, remembering to search for every occurance inMakefile.am
There are several directories that hold most of the interesting files:
- src is the directory where most of our core code is located.
-
tests is where we keep test programs, that verify that our code behaves as we desire. You can run the tests by running:
srun -p debian -c4 make -j4 check -
papers is where we keep LaTeX source for papers that use Deft. These directory also contain the specific code needed to generate the data for our papers, and the scripts to generate figures, etc. You can build the papers by running:
srun -p debian -c4 make -j4 papers