-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
156 lines (128 loc) · 4.05 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#
# Makefiles for TALOS, written by Hyungmin Jun
#
# -fast
# Maximizes speed across the entire program.
# Description:
# This option maximizes speed across the entire program.
#
# It sets the following options:
# - On Linux* systems: -ipo, -O3, -no-prec-div, -static, and -xHost
# - On OS X* systems: -ipo, -mdynamic-no-pic, -O3, -no-prec-div, and -xHost
# - On Windows* systems: /O3, /Qipo, /Qprec-div-, and /QxHost
#
# NOTE: Option fast sets some aggressive optimizations that may not be appropriate for all
# applications. The resulting executable may not run on processor types different from the
# one on which you compile. You should make sure that you understand the individual optimi-
# zation options that are enabled by option fast.
objects = Data_Bound.o Data_DNA.o Data_Geom.o Data_Mesh.o Data_Prob.o \
Para.o List.o Math.o Mani.o SpanTree.o Importer.o \
Exam_Platonic.o Exam_Archi.o \
Exam_Johnson.o Exam_Catalan.o Exam_Miscel.o \
3_Section.o 1_Input.o 2_ModGeo.o 4_Basepair.o 5_Route.o \
6_SeqDesign.o 7_Output.o TALOS.o
f90comp = ifort
# Makefile
TALOS: $(objects)
$(f90comp) -o TALOS $(objects)
Data_Bound.mod: Data_Bound.o Data_Bound.f90
$(f90comp) -c Data_Bound.f90
Data_Bound.o: Data_Bound.f90
$(f90comp) -c Data_Bound.f90
Data_DNA.mod: Data_DNA.o Data_DNA.f90
$(f90comp) -c Data_DNA.f90
Data_DNA.o: Data_DNA.f90
$(f90comp) -c Data_DNA.f90
Data_Geom.mod: Data_Geom.o Data_Geom.f90
$(f90comp) -c Data_Geom.f90
Data_Geom.o: Data_Geom.f90
$(f90comp) -c Data_Geom.f90
Data_Mesh.mod: Data_Mesh.o Data_Mesh.f90
$(f90comp) -c Data_Mesh.f90
Data_Mesh.o: Data_Mesh.f90
$(f90comp) -c Data_Mesh.f90
Data_Prob.mod: Data_Prob.o Data_Prob.f90
$(f90comp) -c Data_Prob.f90
Data_Prob.o: Data_Prob.f90
$(f90comp) -c Data_Prob.f90
Para.mod: Para.o Para.f90
$(f90comp) -c Para.f90
Para.o: Para.f90
$(f90comp) -c Para.f90
List.mod: List.o List.f90
$(f90comp) -c List.f90
List.o: List.f90
$(f90comp) -c List.f90
Math.mod: Math.o Math.f90
$(f90comp) -c Math.f90
Math.o: Math.f90
$(f90comp) -c Math.f90
Mani.mod: Mani.o Mani.f90
$(f90comp) -c Mani.f90
Mani.o: Mani.f90
$(f90comp) -c Mani.f90
SpanTree.mod: SpanTree.o SpanTree.f90
$(f90comp) -c SpanTree.f90
SpanTree.o: SpanTree.f90
$(f90comp) -c SpanTree.f90
Importer.mod: Importer.o Importer.f90
$(f90comp) -c Importer.f90
Importer.o: Importer.f90
$(f90comp) -c Importer.f90
Exam_Platonic.mod: Exam_Platonic.o Exam_Platonic.f90
$(f90comp) -c Exam_Platonic.f90
Exam_Platonic.o: Exam_Platonic.f90
$(f90comp) -c Exam_Platonic.f90
Exam_Archi.mod: Exam_Archi.o Exam_Archi.f90
$(f90comp) -c Exam_Archi.f90
Exam_Archi.o: Exam_Archi.f90
$(f90comp) -c Exam_Archi.f90
Exam_Johnson.mod: Exam_Johnson.o Exam_Johnson.f90
$(f90comp) -c Exam_Johnson.f90
Exam_Johnson.o: Exam_Johnson.f90
$(f90comp) -c Exam_Johnson.f90
Exam_Catalan.mod: Exam_Catalan.o Exam_Catalan.f90
$(f90comp) -c Exam_Catalan.f90
Exam_Catalan.o: Exam_Catalan.f90
$(f90comp) -c Exam_Catalan.f90
Exam_Miscel.mod: Exam_Miscel.o Exam_Miscel.f90
$(f90comp) -c Exam_Miscel.f90
Exam_Miscel.o: Exam_Miscel.f90
$(f90comp) -c Exam_Miscel.f90
3_Section.mod : 3_Section.o 3_Section.f90
$(f90comp) -c 3_Section.f90
3_Section.o : 3_Section.f90
$(f90comp) -c 3_Section.f90
1_Input.mod : 1_Input.o 1_Input.f90
$(f90comp) -c 1_Input.f90
1_Input.o : 1_Input.f90
$(f90comp) -c 1_Input.f90
2_ModGeo.mod : 2_ModGeo.o 2_ModGeo.f90
$(f90comp) -c 2_ModGeo.f90
2_ModGeo.o : 2_ModGeo.f90
$(f90comp) -c 2_ModGeo.f90
4_Basepair.mod : 4_Basepair.o 4_Basepair.f90
$(f90comp) -c 4_Basepair.f90
4_Basepair.o : 4_Basepair.f90
$(f90comp) -c 4_Basepair.f90
5_Route.mod : 5_Route.o 5_Route.f90
$(f90comp) -c 5_Route.f90
5_Route.o : 5_Route.f90
$(f90comp) -c 5_Route.f90
6_SeqDesign.mod : 6_SeqDesign.o 6_SeqDesign.f90
$(f90comp) -c 6_SeqDesign.f90
6_SeqDesign.o : 6_SeqDesign.f90
$(f90comp) -c 6_SeqDesign.f90
7_Output.mod : 7_Output.o 7_Output.f90
$(f90comp) -c 7_Output.f90
7_Output.o : 7_Output.f90
$(f90comp) -c 7_Output.f90
TALOS.mod : TALOS.o TALOS.f90
$(f90comp) -c TALOS.f90
TALOS.o : TALOS.f90
$(f90comp) -c TALOS.f90
# Cleaning everything
clean :
rm *.o
rm *.mod
# End of the makefile