1 # This file is part of libDAI - http://www.libdai.org/
3 # libDAI is licensed under the terms of the GNU General Public License version
4 # 2, or (at your option) any later version. libDAI is distributed without any
5 # warranty. See the file COPYING for more details.
7 # Copyright (C) 2009 Joris Mooij [joris dot mooij at libdai dot org]
10 # This template contains configurations for compiling libDAI under GNU/Linux and other UNIX variants
12 # To use it, simply copy this file to 'Makefile.conf' and adapt 'Makefile.conf'
15 # A boolean variable VAR can be set to true ("VAR=true") or to false ("VAR=")
18 # COMPILATION AND BUILD FLAGS
19 # Enable/disable various approximate inference methods
31 # Build doxygen documentation?
33 # Build with debug info?
35 # Build matlab interface?
37 # MatLab version 7.3 (R2006b) or newer?
41 # Choose OS from {LINUX, WINDOWS, CYGWIN, MACOSX}
51 # MatLab compiled MEX file
55 # Compile using GNU C++ Compiler
57 # Output filename option of the compiler
59 # Flags for the C++ compiler
60 CCFLAGS=-Wno-deprecated -Wall -W -Wextra -fpic
61 # Flags to add in debugging mode (if DEBUG=true)
62 CCDEBUGFLAGS=-O3 -g -DDAI_DEBUG
63 # Flags to add in non-debugging mode (if DEBUG=false)
65 # Standard include directories
69 # Standard libraries to include
71 # For linking with the BOOST Program Options library
72 BOOSTLIBS=-lboost_program_options-mt
73 # Additional library search paths for linker
77 # Replace the following by the directory where MatLab has been installed
78 MATLABDIR=/agbs/share/sw/matlab
79 # The following should resolve to the MatLab mex compile command
80 MEX=$(MATLABDIR)/bin/mex
81 # Specify the same C++ compiler and flags to mex
82 MEXFLAGS=CXX\#$(CC) CXXFLAGS\#'$(CCFLAGS)'
84 # SWIG PYTHON INTERFACE
85 # The following should resolve to the SWIG command
87 # Location of Python header files
88 INCLUDE_PYTHON=/usr/include/python2.5
89 # Location of Boost C++ library header files
90 INCLUDE_BOOST=/usr/include/boost