EM bugfix. Convenience methods in Factor, Permute, Properties, EM.
[libdai.git] / Makefile.CYGWIN
1 # This template contains configurations for compiling libDAI under CygWin
2 #
3 # To use it, simply copy this file to 'Makefile.conf' and adapt 'Makefile.conf'
4 # to your local setup
5 #
6 # A boolean variable VAR can be set to true ("VAR=true") or to false ("VAR=")
7
8 # COMPILATION AND BUILD FLAGS
9 # Enable/disable various approximate inference methods
10 WITH_BP=true
11 WITH_MF=true
12 WITH_HAK=true
13 WITH_LC=true
14 WITH_TREEEP=true
15 WITH_JTREE=true
16 WITH_MR=true
17 WITH_GIBBS=true
18 WITH_CBP=true
19 # Build doxygen documentation?
20 WITH_DOC=true
21 # Build with debug info?
22 DEBUG=true
23 # Build matlab interface?
24 WITH_MATLAB=
25 # MatLab version 7.3 (R2006b) or newer?
26 NEW_MATLAB=true
27
28 # OPERATING SYSTEM
29 # Choose OS from {LINUX, WINDOWS, CYGWIN, MACOSX}
30 OS=CYGWIN
31
32 # FILE EXTENSIONS
33 # Static library
34 LE=.a
35 # Object file
36 OE=.o
37 # Binary executable
38 EE=
39 # MatLab compiled MEX file
40 ME=.mexglx
41
42 # COMPILER
43 # Compile using GNU C++ Compiler
44 CC=g++
45 # Output filename option of the compiler
46 CCO=-o
47 # Flags for the C++ compiler
48 # (dynamic linking of Boost libraries seems not to work on Cygwin)
49 CCFLAGS=-O3 -Wno-deprecated -Wall -W -Wextra -DCYGWIN -static
50 # Flags to add in debugging mode (if DEBUG=true)
51 CCDEBUGFLAGS=-g -DDAI_DEBUG
52 # Standard include directories
53 CCINC=-Iinclude -I/usr/local/include/boost-1_37
54
55 # LINKER
56 # Standard libraries to include
57 LIBS=-ldai
58 # For linking with the BOOST Program Options library
59 BOOSTLIBS=-lboost_program_options-gcc34-mt
60 # Additional library search paths for linker
61 CCLIB=-Llib
62
63 # MATLAB
64 # Replace the following by the directory where MatLab has been installed
65 MATLABDIR=/agbs/share/sw/matlab
66 # The following should resolve to the MatLab mex compile command
67 MEX=$(MATLABDIR)/bin/mex
68 # Specify the same C++ compiler and flags to mex
69 MEXFLAGS=CXX\#$(CC) CXXFLAGS\#'$(CCFLAGS)'