File: make.DEC

package info (click to toggle)
sprng 2.0a-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,308 kB
  • sloc: ansic: 30,353; fortran: 1,618; makefile: 575; cpp: 58; sh: 5
file content (31 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (9)
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
AR = ar
ARFLAGS = cr
#If your system has ranlib, then replace next statement with the one after it.
RANLIB = echo
#RANLIB = ranlib
CC = cc
CLD = $(CC)
F77 = f77
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.
#
#MPIDEF = -DSPRNG_MPI #Only if you plan to use MPI
MPIDIR = 
MPILIB = 

CFLAGS = -D$(PLAT) $(PMLCGDEF) $(MPIDEF) -O3 -std1 -assume noaligned_objects -DLittleEndian
CLDFLAGS =  -O3 -std1 -assume noaligned_objects
FFLAGS = $(PMLCGDEF) $(MPIDEF)  -O3 -D$(PLAT) -DPOINTER_SIZE=8
F77LDFLAGS = -O3

CPP = f77 -F