-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmakefile
More file actions
65 lines (37 loc) · 1.52 KB
/
makefile
File metadata and controls
65 lines (37 loc) · 1.52 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
goal: xcross.exe
tarball:
tar cf duo.tar makefile *.f90
checkin:
ci -l Makefile *.f90
FPATH =
PLAT =
FOR = ifort
FFLAGS = -O3 -qopenmp -traceback -ip
#FOR = gfortran
#+FFLAGS = -Wall -march=native -g -O3 -fopenmp -std=f2008 -ffree-line-length-512 -fall-intrinsics
#FFLAGS = -O0 -g -fpe0 -fltconsistency -stand f03 -check all -warn all -traceback -fp-stack-check # debugging options
#FFLAGS = -O0 -fpe0 -fltconsistency -stand f03 -check all -warn all -traceback -fp-stack-check # debugging options
#CFLAGS = -O0 -g -fpe0 -fltconsistency -traceback -fp-stack-check -std=c++0x
LAPACK = -static
FFLAGS2 = #-vec-report3
#LDIR = /nfs/workspaces/exomol/syurchenko/programs/libcerf/libcerf-1.4/lib/.lib/
###############################################################################
OBJ = accuracy.o timer.o input.o spectrum.o VoigtKampff.o phoenix.o
xcross.exe: $(OBJ) crosssections.o
$(FOR) -o xcross.exe $(OBJ) $(FFLAGS) crosssections.o $(LIB) -static
crosssections.o: crosssections.f90 $(OBJ)
$(FOR) -c crosssections.f90 $(FFLAGS)
spectrum.o: spectrum.f90 accuracy.o input.o VoigtKampff.o phoenix.o
$(FOR) -c spectrum.f90 $(FFLAGS)
accuracy.o: accuracy.f90
$(FOR) -c accuracy.f90 $(FFLAGS)
timer.o: timer.f90
$(FOR) -c timer.f90 $(FFLAGS)
input.o: input.f90
$(FOR) -c input.f90 $(FFLAGS)
phoenix.o: phoenix.f90 accuracy.o
$(FOR) -c phoenix.f90 $(FFLAGS)
VoigtKampff.o: VoigtKampff.f90 accuracy.o
$(FOR) -c VoigtKampff.f90 $(FFLAGS)
clean:
rm $(OBJ) *.mod crosssections.o xcross.exe