Browse Source

Improved the makefile for Intel compiler.

tags/v0.1.0^2
Xianyi Zhang 13 years ago
parent
commit
0a696bd4ce
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      Makefile
  2. +4
    -0
      f_check

+ 1
- 0
Makefile View File

@@ -285,6 +285,7 @@ clean ::
#ifdef DYNAMIC_ARCH
@$(MAKE) -C kernel clean
#endif
@$(MAKE) -C reference clean
@rm -f *.$(LIBSUFFIX) *.so *~ *.exe getarch getarch_2nd *.dll *.lib *.$(SUFFIX) *.dwf libopenblas.$(LIBSUFFIX) libopenblas_p.$(LIBSUFFIX) *.lnk myconfig.h
@rm -f Makefile.conf config.h Makefile_kernel.conf config_kernel.h st* *.dylib
@if test -d lapack-3.4.0; then \


+ 4
- 0
f_check View File

@@ -284,6 +284,10 @@ if ($link ne "") {

}

if ($vendor eq "INTEL"){
$linker_a .= "-lgfortran"
}

open(MAKEFILE, ">> $makefile") || die "Can't append $makefile";
open(CONFFILE, ">> $config" ) || die "Can't append $config";



Loading…
Cancel
Save