From 4c8e570f745051833e0f704545bba385f20c0df5 Mon Sep 17 00:00:00 2001 From: cornet Date: Thu, 1 Apr 2010 09:36:17 +0000 Subject: increase compatibility with MKL --- macros/CCodeGeneration/C_GenerateMakefile_msvc.sci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/CCodeGeneration') diff --git a/macros/CCodeGeneration/C_GenerateMakefile_msvc.sci b/macros/CCodeGeneration/C_GenerateMakefile_msvc.sci index 6890c140..b49a2c31 100644 --- a/macros/CCodeGeneration/C_GenerateMakefile_msvc.sci +++ b/macros/CCodeGeneration/C_GenerateMakefile_msvc.sci @@ -47,7 +47,7 @@ PrintStringInfo('BLAS_LIB = $(SCI2CDIR)/external-libs/blasplus.lib',MakefileFile PrintStringInfo('CC = cl',MakefileFilename,'file','y','y'); PrintStringInfo('LINKER = link',MakefileFilename,'file','y','y'); PrintStringInfo('LINKER_OPTIMISATION_MODE=/RELEASE ',MakefileFilename,'file','y','y'); -PrintStringInfo('CC__OPTIMISATION_MODE=-Z7 -O2 -MT',MakefileFilename,'file','y','y'); +PrintStringInfo('CC__OPTIMISATION_MODE=-Z7 -O2 -MD',MakefileFilename,'file','y','y'); PrintStringInfo('CC_OPTIONS = $(CC_COMMON) -W3 -Gd $(CC__OPTIMISATION_MODE) /Fo""$(DIR_OBJ)/"" /Fd""$(DIR_OBJ)/"" ',MakefileFilename,'file','y','y'); PrintStringInfo('CFLAGS = $(CC_OPTIONS) -I""$(HSRCDIR)"" -I""$(ISRCDIR)"" /EHsc /TP ',MakefileFilename,'file','y','y'); PrintStringInfo('EXEFILENAME = mytest',MakefileFilename,'file','y','y'); -- cgit