3 Further customisation

You can do further customisation by overriding any variables used by the make system in Makefile.user. The following variables could be of interest: (The variable $(ROOT) points to the root of the DFTB+ source directory.)

OBJDIR_PARENT
Directory, in which the subdirectory containing the object files and the compiled binary should be created.

Per default it is set to the directory, where you issue the make command (working directory).

OBJDIR_SUFFIX
Suffix to append in the directory name for the object files after _obj.

Per default it is set to _$(ARCH).

INSTALLDIR
The directory, where to copy the DFTB+ binary, when issuing make install.

Defaults to the working directory.

PRGDFTB_TESTDIR
Location of the DFTB+ autotest suite (see next section). The autotest suite must be download separately from the code. It is not needed for the compilation, only for testing the resulting binary.

The default is $(ROOT)/../autotest.

PRGDFTB_TESTFILE
File containing the tests to calculate.

Default: $(PRGDFTB_TESTDIR)/tests.