50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
#
|
|
# Makefile.LINUX
|
|
#
|
|
#
|
|
# If you compile, change the name to Makefile.in.
|
|
#
|
|
#
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Shell
|
|
#-----------------------------------------------------------------------------
|
|
|
|
SHELL = /bin/sh
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Platform
|
|
#-----------------------------------------------------------------------------
|
|
|
|
PLAT = LINUX
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Libraries and includes
|
|
#-----------------------------------------------------------------------------
|
|
|
|
BLLIB = $(home)/lib/librefblas.a
|
|
CBLIB = ../lib/libcblas.a
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Compilers
|
|
#-----------------------------------------------------------------------------
|
|
|
|
CC = gcc
|
|
FC = gfortran
|
|
LOADER = $(FC)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Flags for Compilers
|
|
#-----------------------------------------------------------------------------
|
|
|
|
CFLAGS = -O3 -DADD_
|
|
FFLAGS = -O3
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Archive programs and flags
|
|
#-----------------------------------------------------------------------------
|
|
|
|
ARCH = ar
|
|
ARCHFLAGS = cr
|
|
RANLIB = ranlib
|