To compile the AutoMix sampler for the examples included within the AutoMix package, the user should edit the Makefile (supplied) if required (for example the compile flags, or libraries)
Typing:
make
in the shell, in the AutoMix folder where the AutoMix distribution was unzipped to, will compile all the programs that were distributed with this package.
To compile all programs with debug information (-g flag enabled), type:
make DEBUG=1
The supplied programs have all been debugged but we acknowledge that use of a debugger can often help to understand how the program works.
Any of the programs can also be made individually, with the appropriate make command.
For example:
make amtoy1
will make amtoy1. See the Makefile for further examples.
The executables have the form amNAME, where NAME is the name of the example.
To remove the executables and object (.o) files, type:
make clean
To compile the sampler for a new example, the Makefile can be edited to contain the appropriate commands (remembering to include command for compiling any dependencies) for the new program.