You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
4 months ago
|
#
|
||
|
# 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
|