Warning: also my noweb-training program. http://www.eecs.harvard.edu/~nr/noweb/ (noweb, or the transitional nowebm, in Debian-based distributions) Extract Makefile and compile with: $ notangle -Rmakefile sawsim.nw | sed 's/ /\t/' > Makefile $ make Run the unit tests with $ make check Depends on the GSL (GNU Scientific Library) development package. http://www.gnu.org/software/gsl/ (libgsl0-dev in Debian-based distributions)