make.inc 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # -*- Makefile -*-
  2. ####################################################################
  3. # LAPACK make include file. #
  4. # LAPACK, Version 3.2.1 #
  5. # June 2009 #
  6. ####################################################################
  7. #
  8. # See the INSTALL/ directory for more examples.
  9. #
  10. SHELL = /bin/sh
  11. #
  12. # The machine (platform) identifier to append to the library names
  13. #
  14. PLAT = _LINUX
  15. #
  16. # Modify the FORTRAN and OPTS definitions to refer to the
  17. # compiler and desired compiler options for your machine. NOOPT
  18. # refers to the compiler options desired when NO OPTIMIZATION is
  19. # selected. Define LOADER and LOADOPTS to refer to the loader
  20. # and desired load options for your machine.
  21. #
  22. #######################################################
  23. # This is used to compile C libary
  24. #CC = gcc
  25. # if no wrapping of the blas library is needed, uncomment next line
  26. #CC = gcc -DNO_BLAS_WRAP
  27. CFLAGS = -O3 -I$(TOPDIR)/INCLUDE -fPIC
  28. #LOADER = gcc
  29. LOADER = $(CC)
  30. LOADOPTS =
  31. NOOPT = -O0 -I$(TOPDIR)/INCLUDE
  32. DRVCFLAGS = $(CFLAGS)
  33. F2CCFLAGS = $(CFLAGS)
  34. #######################################################################
  35. #
  36. # Timer for the SECOND and DSECND routines
  37. #
  38. # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
  39. # TIMER = EXT_ETIME
  40. # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
  41. # TIMER = EXT_ETIME_
  42. # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
  43. # TIMER = INT_ETIME
  44. # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
  45. # SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME
  46. TIMER = INT_CPU_TIME
  47. # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
  48. # TIMER = NONE
  49. #
  50. # The archiver and the flag(s) to use when building archive (library)
  51. # If you system has no ranlib, set RANLIB = echo.
  52. #
  53. ARCH = ar
  54. ARCHFLAGS= cr
  55. RANLIB = ranlib
  56. BLASLIB=../../../build/minlibblas.a
  57. F2CLIB=../../../build/minlibf2c.a