#
#	Copyright (C) 2018 Modelon AB
#
#	This program is free software: you can redistribute it and/or modify
#	it under the terms of the GNU General Public License version 3 as published 
#	by the Free Software Foundation, or optionally, under the terms of the 
#	Common Public License version 1.0 as published by IBM.
#
#	This program is distributed in the hope that it will be useful,
#	but WITHOUT ANY WARRANTY; without even the implied warranty of
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#	GNU General Public License, or the Common Public License, for more details.
#
#	You should have received copies of the GNU General Public License
#	and the Common Public License along with this program.  If not, 
#	see <http://www.gnu.org/licenses/> or 
#	<http://www.ibm.com/developerworks/library/os-cpl.html/> respectively.

mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir := $(dir $(mkfile_path))
include $(mkfile_dir)/win
SUNDIALS_C_FLAGS="-m32 -mincoming-stack-boundary=2 -fPIC"
SUNDIALS_INSTALL_DIR=${BUILD_DIR}/sundials_install32
SUNDIALS_BUILD_DIR=${BUILD_DIR}/build_sundials32

SUPERLU_INSTALL=${BUILD_DIR}/superlu_install32
SUPERLU_ADDON=-DSUPERLUMT_THREAD_TYPE=OpenMP -DSUPERLUMT_ENABLE=ON -DSUPERLUMT_LIBRARY_DIR=$(SUPERLU_INSTALL)/lib -DSUPERLUMT_INCLUDE_DIR=$(SUPERLU_INSTALL)/SRC
