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 includs
|
|
#-----------------------------------------------------------------------------
|
|
|
|
BLLIB = libblas.a
|
|
CBLIB = ../lib/cblas_$(PLAT).a
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Compilers
|
|
#-----------------------------------------------------------------------------
|
|
|
|
CC = gcc
|
|
FC = gfortran
|
|
LOADER = $(FC)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Flags for Compilers
|
|
#-----------------------------------------------------------------------------
|
|
|
|
CFLAGS = -O3 -DADD_
|
|
FFLAGS = -O3
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Archive programs and flags
|
|
#-----------------------------------------------------------------------------
|
|
|
|
ARCH = ar
|
|
ARCHFLAGS = r
|
|
RANLIB = echo
|