Fixed bug in MaxSpanningTree
[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 # Build doxygen documentation?
19 WITH_DOC=true
20 # Build with debug info?
21 DEBUG=true
22 # Build matlab interface?
23 WITH_MATLAB=
24 # New/old matlab version?
25 NEW_MATLAB=true
26
27 # OPERATING SYSTEM
28 # Choose OS from {LINUX, WINDOWS, CYGWIN, MACOSX}
29 OS=CYGWIN
30
31 # FILE EXTENSIONS
32 # Static library
33 LE=.a
34 # Object file
35 OE=.o
36 # Binary executable
37 EE=
38 # MatLab compiled MEX file
39 ME=.mexglx
40
41 # COMPILER
42 # Compile using GNU C++ Compiler
43 CC=g++
44 # Output filename option of the compiler
45 CCO=-o
46 # Flags for the C++ compiler
47 # (dynamic linking of Boost libraries seems not to work on Cygwin)
48 CCFLAGS=-O3 -Wno-deprecated -Wall -W -Wextra -DCYGWIN -static
49 # Flags to add in debugging mode (if DEBUG=true)
50 CCDEBUGFLAGS=-g -DDAI_DEBUG
51 # Standard include directories
52 CCINC=-Iinclude -I/usr/local/include/boost-1_37
53
54 # LINKER
55 # Standard libraries to include
56 LIBS=-ldai
57 # For linking with the BOOST Program Options library
58 BOOSTLIBS=-lboost_program_options-gcc34-mt
59 # Additional library search paths for linker
60 CCLIB=-Llib
61
62 # MATLAB
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)'