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