##===- Makefile --------------------------------------------*- Makefile -*-===##
#
# This makefile contains information for building the SPEC2006 soplex test.
#
##===----------------------------------------------------------------------===##

LEVEL = ../../../..

FP_ABSTOLERANCE = 1.0e-5

CPPFLAGS += -DNDEBUG
CXXFLAGS += -std=gnu++98

LDFLAGS = -lstdc++ -lm
LIBS    = -lstdc++ -lm

include ../../Makefile.spec2006

ifeq ($(RUN_TYPE),test)
  FP_TOLERANCE     = 0.0001
  RUN_OPTIONS      = -s1 -e -m10000 test.mps
  STDOUT_FILENAME := test.out
else
ifeq ($(RUN_TYPE),train)
  FP_TOLERANCE     = 20
  RUN_OPTIONS      = -s1 -e -m1200 train.mps
  STDOUT_FILENAME := train.out
else
  FP_TOLERANCE     = 0.02
  RUN_OPTIONS      = -s1 -e -m3500 ref.mps
  STDOUT_FILENAME := ref.out
endif
endif
