# http://Evgenii.Rudnyi.Ru/ # Please define where to find include files and libraries for TAUCS # The METIS library should be also there # # In case of MS VC it is also possible to use environment variable # INCLUDE and LIB. In a case leave these two variables blank INCLOC = /users/erudnyi/work/lib/include LIBLOC = /users/erudnyi/work/ms/lib/bin #define C++ compiler and its flags CPP = cl FLAGS = -O2 -EHsc -MD -D_SECURE_SCL=0 # define BLAS libraries (right now it is MKL) LIBBLAS = mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib LIBTAUCS = libtaucs.lib libmetis.lib $(LIBBLAS) run_taucs.exe : run_taucs.obj matrices.obj $(CPP) run_taucs.obj matrices.obj $(LIBTAUCS) -link -LIBPATH:$(LIBLOC) run_taucs.obj: run_taucs.cpp LinearSolver/auxiliary.h LinearSolver/matrices.h $(CPP) $(FLAGS) -ILinearSolver -I$(INCLOC) -c run_taucs.cpp matrices.obj: LinearSolver/matrices.cpp LinearSolver/auxiliary.h LinearSolver/matrices.h $(CPP) $(FLAGS) -ILinearSolver -I$(INCLOC) -c LinearSolver/matrices.cpp clean: rm -f *.obj *.exe *.manifest *.solution