::#############################################################
::
:: Compilation of Auxilaryroutines
::
::############################################################
::
SET MAINSRC=AuxilaryRoutines.f90
SET RESULT=AuxilaryRoutines.dll

::CALL ifort %MAINSRC% -o %RESULT% -dll -O3 -Qmkl -Qopenmp -heap-arrays -static-intel
::CALL ifort %MAINSRC% -o %RESULT% -dll -Qmkl -Qopenmp
::CALL ifort %MAINSRC% -Qmkl -Qopenmp -c
:: compile directly linking MKL dynamically
ifort /Qmkl /Qopenmp /MD /dll AuxilaryRoutines.f90

:: compile and link separately to link MKL statically
::CALL ifort /c /Qmkl /Qopenmp %MAINSRC%
:: ( Linker options from abaqus*.env and Intel Link Line Advisor )
::CALL LINK /NODEFAULTLIB:LIBCMT.LIB /DEFAULTLIB:LIBIFCOREMD.LIB /dll msvcrt.lib AuxilaryRoutines.obj
