1 # This template contains configurations for compiling libDAI under GNU/Linux
2 # and other UNIX variants
4 # To use it, simply copy this file to 'Makefile.conf' and adapt 'Makefile.conf'
7 # A boolean variable VAR can be set to true ("VAR=true") or to false ("VAR=")
9 # COMPILATION AND BUILD FLAGS
10 # Enable/disable various approximate inference methods
21 # Build doxygen documentation?
23 # Build with debug info?
25 # Build matlab interface?
27 # New/old matlab version?
31 # Choose OS from {LINUX, WINDOWS, CYGWIN, MACOSX}
41 # MatLab compiled MEX file
45 # Compile using GNU C++ Compiler
47 # Output filename option of the compiler
49 # Flags for the C++ compiler
50 CCFLAGS=-O3 -Wno-deprecated -Wall -W -Wextra -fpic
51 # Flags to add in debugging mode (if DEBUG=true)
52 CCDEBUGFLAGS=-g -DDAI_DEBUG
53 # Standard include directories
57 # Standard libraries to include
59 # For linking with the BOOST Program Options library
60 BOOSTLIBS=-lboost_program_options-mt
61 # Additional library search paths for linker
65 # Replace the following by the directory where MatLab has been installed
66 MATLABDIR=/agbs/share/sw/matlab
67 # The following should resolve to the MatLab mex compile command
68 MEX=$(MATLABDIR)/bin/mex
69 # Specify the same C++ compiler and flags to mex
70 MEXFLAGS=CXX\#$(CC) CXXFLAGS\#'$(CCFLAGS)'