File: make.GENERIC

package info (click to toggle)
sprng 2.0a-8
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 3,080 kB
  • ctags: 2,062
  • sloc: ansic: 30,350; fortran: 1,618; makefile: 573; cpp: 58; sh: 5
file content (35 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
AR = ar
ARFLAGS = cr
#If your system has ranlib, then replace next statement with the one after it.
# RANLIB = echo
RANLIB = ranlib
CC = gcc
CLD = $(CC)
F77 = g77
F77LD = $(F77)
FFXN =   -DAdd_
FSUFFIX = F

MPIF77 = $(F77) 
MPICC = $(CC)

# To use MPI, set the MPIDIR to location of mpi library, and MPILIB 
# to name of mpi library. Remove # signs from beginning of next 3 lines.
# Also, if the previous compilation was without MPI, type: make realclean
# before compiling for mpi.
#
MPIDIR = 
MPILIB = 

# If _LONG_LONG type is available, then you can use the addition flag
# -D_LONG_LONG. Set F77 to echo to compile the C version alone. 
# Try adding: -DGENERIC to CFLAGS. This can improve speed, but may give
# incorrect values. Check with 'checksprng' to see if it works.

CFLAGS = -O -fpic $(PMLCGDEF) $(MPIDEF) ${GMPDEF} $(compilerflags)
CLDFLAGS = -O
FFLAGS = -O $(PMLCGDEF) $(MPIDEF) ${GMPDEF}
F77LDFLAGS = -O

CPP = f77 -F