make.inc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. LOADOPTS =
  30. NOOPT = -O0 -I$(TOPDIR)/INCLUDE
  31. DRVCFLAGS = $(CFLAGS)
  32. F2CCFLAGS = $(CFLAGS)
  33. #######################################################################
  34. #
  35. # Timer for the SECOND and DSECND routines
  36. #
  37. # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
  38. # TIMER = EXT_ETIME
  39. # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
  40. # TIMER = EXT_ETIME_
  41. # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
  42. # TIMER = INT_ETIME
  43. # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
  44. # SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME
  45. TIMER = INT_CPU_TIME
  46. # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
  47. # TIMER = NONE
  48. #
  49. # The archiver and the flag(s) to use when building archive (library)
  50. # If you system has no ranlib, set RANLIB = echo.
  51. #
  52. ARCH = ar
  53. ARCHFLAGS= cr
  54. RANLIB = ranlib
  55. BLASLIB=../../../build/minlibblas.a
  56. F2CLIB=../../../build/minlibf2c.a