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
18 # Build doxygen documentation?
20 # Build with debug info?
22 # Build matlab interface?
24 # MatLab version 7.3 (R2006b) or newer?
28 # Choose OS from {LINUX, WINDOWS, CYGWIN, MACOSX}
38 # MatLab compiled MEX file
42 # Compile using GNU C++ Compiler
44 # Output filename option of the compiler
46 # Flags for the C++ compiler
47 CCFLAGS=-O3 -Wno-deprecated -Wall -W -Wextra -fpic
48 # Flags to add in debugging mode (if DEBUG=true)
49 CCDEBUGFLAGS=-g -DDAI_DEBUG
50 # Standard include directories
51 CCINC=-Iinclude -I/opt/local/include
54 # Standard libraries to include
56 # For linking with the BOOST Program Options library
57 BOOSTLIBS=-lboost_program_options-mt
58 # Additional library search paths for linker
59 CCLIB=-Llib -L/opt/local/lib
62 # Replace the following by the directory where MatLab has been installed
63 MATLABDIR=/agbs/share/sw/matlab
64 # The following should resolve to the MatLab mex compile command
65 MEX=$(MATLABDIR)/bin/mex
66 # Specify the same C++ compiler and flags to mex
67 MEXFLAGS=CXX\#$(CC) CXXFLAGS\#'$(CCFLAGS)'