-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (33 loc) · 991 Bytes
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
PROG = wave
OBJS = get_mkl_vsl.o boundary.o derivs.o evolve.o initial.o main.o params.o rhs.o fourier_tools.o scaling_gen.o
MAKEFLAGS = -r
LIBS = -mkl -L/usr/local/rnpletal/lib -lrnpl -lutilio -lvutil -lxvs -lbbhutil
F90 = ifort
F77 = ifort
F90FLAGS = -r8 -O3 -132 -heap-arrays -traceback -g
#F90FLAGS = -fdefault-real-8 -O3 -ffree-line-length-165 # -g -pg -p
# -fpstkchk -fpe0 -ftz
#LDFLAGS = -L/opt/intel/fce/9.0/lib
LIBPATH = -L/usr/local/lib/
all: $(PROG)
$(PROG): $(OBJS)
$(F90) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
clean:
rm -f $(PROG) $(OBJS) *.mod *.o
.SUFFIXES: .o .mod .f90
.f90.o:
$(F90) $(F90FLAGS) -c $<
.f90.mod:
$(F90) $(F90FLAGS) -c $<
.f.o:
$(F90) $(F90FLAGS) -c $<
.f.mod:
$(F90) $(F90FLAGS) -c $<
boundary.o: params.o
derivs.o: params.o
evolve.o: boundary.o derivs.o params.o rhs.o fourier_tools.o
initial.o: derivs.o
main.o: scaling_gen.o derivs.o evolve.o initial.o params.o fourier_tools.o
rhs.o: params.o fourier_tools.o
scaling_gen.o:
fourier_tools.o: