Improved the makefile for Intel compiler.
This commit is contained in:
parent
8da6fdc2ce
commit
0a696bd4ce
1
Makefile
1
Makefile
|
@ -285,6 +285,7 @@ clean ::
|
||||||
#ifdef DYNAMIC_ARCH
|
#ifdef DYNAMIC_ARCH
|
||||||
@$(MAKE) -C kernel clean
|
@$(MAKE) -C kernel clean
|
||||||
#endif
|
#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 *.$(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
|
@rm -f Makefile.conf config.h Makefile_kernel.conf config_kernel.h st* *.dylib
|
||||||
@if test -d lapack-3.4.0; then \
|
@if test -d lapack-3.4.0; then \
|
||||||
|
|
4
f_check
4
f_check
|
@ -284,6 +284,10 @@ if ($link ne "") {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($vendor eq "INTEL"){
|
||||||
|
$linker_a .= "-lgfortran"
|
||||||
|
}
|
||||||
|
|
||||||
open(MAKEFILE, ">> $makefile") || die "Can't append $makefile";
|
open(MAKEFILE, ">> $makefile") || die "Can't append $makefile";
|
||||||
open(CONFFILE, ">> $config" ) || die "Can't append $config";
|
open(CONFFILE, ">> $config" ) || die "Can't append $config";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue