Changed testregression such that it doesn't fail on platform-dependent numerical...
[libdai.git] / examples / Makefile
1 # Include flags
2 INC=-I../include
3 # Library path flags
4 LIBS=-lgmpxx -lgmp
5 # Location of libDAI library
6 LIB=../lib
7 # Compiler
8 CC=g++
9 # Compiler flags
10 CCFLAGS=-Wno-deprecated -Wall -W -Wextra -fpic -O3 -static $(INC)
11
12 all : uai2010-aie-solver
13
14 uai2010-aie-solver : uai2010-aie-solver.cpp $(LIB)/libdai.a
15 $(CC) $(CCFLAGS) -o$@ $< $(LIB)/libdai.a $(LIBS)
16
17 # CLEAN
18 ########
19
20 .PHONY : clean
21 clean :
22 -rm uai2010-aie-solver