1 | FF=gfortran |
---|
2 | #FFLAGS= -O4 -m32 -fno-second-underscore -funroll-loops -I. |
---|
3 | FFLAGS= -O4 -fno-second-underscore -funroll-loops -I. |
---|
4 | |
---|
5 | #VER=macOS |
---|
6 | VER= |
---|
7 | |
---|
8 | SRC= adjust.f alpham.f bend.f bfld.f bfldlal.f blockdata.f buncher.f byfield.f card.f cathod.f cathode.f cellfeld.f cellimp.f cfield.f change.f cread.f datime.f dawfc.f ddate.f design.f distriphase.f distrir.f distrirhom.f dpout.f drift.f eh.f eint.f elispdp.f emit90dp.f erf.f field.f fieldlal.f file.f fldring.f flds.f fsch.f gammln.f gammp.f gaus.f gcf.f geners.f genfc.f genfld.f gpindp.f graphic.f gser.f indx.f input.f interp.f interv.f irschfgt.f lodgau.f loduni.f luf.f norran.f out1.f out2.f out3.f out4.f out5.f out6dp.f outlaldp.f output.f pardyn.f parmelamainv503.f pdist.f poisson.f prch.f prchold.f pvoldp.f quad.f ranf.f rannor.f rn32.f rndm.f rnorth.f rotate.f rtmfc.f rtrans.f sandom.f sbload.f sccfc.f scheff1.f scheff2.f scheff3.f scwall.f search.f setwall.f sextupole.f solnoid.f sort.f sortie.f spl1d1.f spl1d2.f spl2d1.f spl2d2.f spln1.f spln2.f srchfd.f sscal.f swap.f tank.f trwave.f trwfield.f trwimp.f wiggler.f xi0.f xi10x.f zout.f zoutlal.f |
---|
9 | |
---|
10 | OBJ=$(SRC:.f=.o) |
---|
11 | |
---|
12 | all : parmela |
---|
13 | |
---|
14 | parmela : main.o $(OBJ) |
---|
15 | gfortran main.o $(OBJ) -o parmela |
---|
16 | |
---|
17 | main.o:main.c |
---|
18 | gcc -c main.c |
---|
19 | |
---|
20 | adjust.o:adjust.f |
---|
21 | $(FF) -c $(FFLAGS) adjust.f |
---|
22 | |
---|
23 | alpham.o:alpham.f |
---|
24 | $(FF) -c $(FFLAGS) alpham.f |
---|
25 | |
---|
26 | bend.o:bend.f |
---|
27 | $(FF) -c $(FFLAGS) bend.f |
---|
28 | |
---|
29 | bfld.o:bfld.f |
---|
30 | $(FF) -c $(FFLAGS) bfld.f |
---|
31 | |
---|
32 | bfldlal.o:bfldlal.f |
---|
33 | $(FF) -c $(FFLAGS) bfldlal.f |
---|
34 | |
---|
35 | blockdata.o:blockdata.f |
---|
36 | $(FF) -c $(FFLAGS) blockdata.f |
---|
37 | |
---|
38 | buncher.o:buncher.f |
---|
39 | $(FF) -c $(FFLAGS) buncher.f |
---|
40 | |
---|
41 | byfield.o:byfield.f |
---|
42 | $(FF) -c $(FFLAGS) byfield.f |
---|
43 | |
---|
44 | card.o:card.f |
---|
45 | $(FF) -c $(FFLAGS) card.f |
---|
46 | |
---|
47 | cathod.o:cathod.f |
---|
48 | $(FF) -c $(FFLAGS) cathod.f |
---|
49 | |
---|
50 | cathode.o:cathode.f |
---|
51 | $(FF) -c $(FFLAGS) cathode.f |
---|
52 | |
---|
53 | cellfeld.o:cellfeld.f |
---|
54 | $(FF) -c $(FFLAGS) cellfeld.f |
---|
55 | |
---|
56 | cellimp.o:cellimp.f |
---|
57 | $(FF) -c $(FFLAGS) cellimp.f |
---|
58 | |
---|
59 | cfield.o:cfield.f |
---|
60 | $(FF) -c $(FFLAGS) cfield.f |
---|
61 | |
---|
62 | change.o:change.f |
---|
63 | $(FF) -c $(FFLAGS) change.f |
---|
64 | |
---|
65 | cread.o:cread.f |
---|
66 | $(FF) -c $(FFLAGS) cread.f |
---|
67 | |
---|
68 | datime.o:datime.f |
---|
69 | $(FF) -c $(FFLAGS) datime.f |
---|
70 | |
---|
71 | dawfc.o:dawfc.f |
---|
72 | $(FF) -c $(FFLAGS) dawfc.f |
---|
73 | |
---|
74 | ddate.o:ddate.f |
---|
75 | $(FF) -c $(FFLAGS) ddate.f |
---|
76 | |
---|
77 | design.o:design.f |
---|
78 | $(FF) -c $(FFLAGS) design.f |
---|
79 | |
---|
80 | distriphase.o:distriphase.f |
---|
81 | $(FF) -c $(FFLAGS) distriphase.f |
---|
82 | |
---|
83 | distrir.o:distrir.f |
---|
84 | $(FF) -c $(FFLAGS) distrir.f |
---|
85 | |
---|
86 | distrirhom.o:distrirhom.f |
---|
87 | $(FF) -c $(FFLAGS) distrirhom.f |
---|
88 | |
---|
89 | dpout.o:dpout.f |
---|
90 | $(FF) -c $(FFLAGS) dpout.f |
---|
91 | |
---|
92 | drift.o:drift.f |
---|
93 | $(FF) -c $(FFLAGS) drift.f |
---|
94 | |
---|
95 | eh.o:eh.f |
---|
96 | $(FF) -c $(FFLAGS) eh.f |
---|
97 | |
---|
98 | eint.o:eint.f |
---|
99 | $(FF) -c $(FFLAGS) eint.f |
---|
100 | |
---|
101 | elispdp.o:elispdp.f |
---|
102 | $(FF) -c $(FFLAGS) elispdp.f |
---|
103 | |
---|
104 | emit90dp.o:emit90dp.f |
---|
105 | $(FF) -c $(FFLAGS) emit90dp.f |
---|
106 | |
---|
107 | erf.o:erf.f |
---|
108 | $(FF) -c $(FFLAGS) erf.f |
---|
109 | |
---|
110 | field.o:field.f |
---|
111 | $(FF) -c $(FFLAGS) field.f |
---|
112 | |
---|
113 | fieldlal.o:fieldlal.f |
---|
114 | $(FF) -c $(FFLAGS) fieldlal.f |
---|
115 | |
---|
116 | file.o:file.f |
---|
117 | $(FF) -c $(FFLAGS) file.f |
---|
118 | |
---|
119 | fldring.o:fldring.f |
---|
120 | $(FF) -c $(FFLAGS) fldring.f |
---|
121 | |
---|
122 | flds.o:flds.f |
---|
123 | $(FF) -c $(FFLAGS) flds.f |
---|
124 | |
---|
125 | fsch.o:fsch.f |
---|
126 | $(FF) -c $(FFLAGS) fsch.f |
---|
127 | |
---|
128 | gammln.o:gammln.f |
---|
129 | $(FF) -c $(FFLAGS) gammln.f |
---|
130 | |
---|
131 | gammp.o:gammp.f |
---|
132 | $(FF) -c $(FFLAGS) gammp.f |
---|
133 | |
---|
134 | gaus.o:gaus.f |
---|
135 | $(FF) -c $(FFLAGS) gaus.f |
---|
136 | |
---|
137 | gcf.o:gcf.f |
---|
138 | $(FF) -c $(FFLAGS) gcf.f |
---|
139 | |
---|
140 | geners.o:geners.f |
---|
141 | $(FF) -c $(FFLAGS) geners.f |
---|
142 | |
---|
143 | genfc.o:genfc.f |
---|
144 | $(FF) -c $(FFLAGS) genfc.f |
---|
145 | |
---|
146 | genfld.o:genfld.f |
---|
147 | $(FF) -c $(FFLAGS) genfld.f |
---|
148 | |
---|
149 | gpindp.o:gpindp.f |
---|
150 | $(FF) -c $(FFLAGS) gpindp.f |
---|
151 | |
---|
152 | graphic.o:graphic.f |
---|
153 | $(FF) -c $(FFLAGS) graphic.f |
---|
154 | |
---|
155 | gser.o:gser.f |
---|
156 | $(FF) -c $(FFLAGS) gser.f |
---|
157 | |
---|
158 | indx.o:indx.f |
---|
159 | $(FF) -c $(FFLAGS) indx.f |
---|
160 | |
---|
161 | input.o:input.f |
---|
162 | $(FF) -c $(FFLAGS) input.f |
---|
163 | |
---|
164 | interp.o:interp.f |
---|
165 | $(FF) -c $(FFLAGS) interp.f |
---|
166 | |
---|
167 | interv.o:interv.f |
---|
168 | $(FF) -c $(FFLAGS) interv.f |
---|
169 | |
---|
170 | irschfgt.o:irschfgt.f |
---|
171 | $(FF) -c $(FFLAGS) irschfgt.f |
---|
172 | |
---|
173 | lodgau.o:lodgau.f |
---|
174 | $(FF) -c $(FFLAGS) lodgau.f |
---|
175 | |
---|
176 | loduni.o:loduni.f |
---|
177 | $(FF) -c $(FFLAGS) loduni.f |
---|
178 | |
---|
179 | luf.o:luf.f |
---|
180 | $(FF) -c $(FFLAGS) luf.f |
---|
181 | |
---|
182 | norran.o:norran.f |
---|
183 | $(FF) -c $(FFLAGS) norran.f |
---|
184 | |
---|
185 | out1.o:out1.f |
---|
186 | $(FF) -c $(FFLAGS) out1.f |
---|
187 | |
---|
188 | out2.o:out2.f |
---|
189 | $(FF) -c $(FFLAGS) out2.f |
---|
190 | |
---|
191 | out3.o:out3.f |
---|
192 | $(FF) -c $(FFLAGS) out3.f |
---|
193 | |
---|
194 | out4.o:out4.f |
---|
195 | $(FF) -c $(FFLAGS) out4.f |
---|
196 | |
---|
197 | out5.o:out5.f |
---|
198 | $(FF) -c $(FFLAGS) out5.f |
---|
199 | |
---|
200 | out6dp.o:out6dp.f |
---|
201 | $(FF) -c $(FFLAGS) out6dp.f |
---|
202 | |
---|
203 | outlaldp.o:outlaldp.f |
---|
204 | $(FF) -c $(FFLAGS) outlaldp.f |
---|
205 | |
---|
206 | output.o:output.f |
---|
207 | $(FF) -c $(FFLAGS) output.f |
---|
208 | |
---|
209 | pardyn.o:pardyn.f |
---|
210 | $(FF) -c $(FFLAGS) pardyn.f |
---|
211 | |
---|
212 | parmelamainv503.o:parmelamainv503.f |
---|
213 | $(FF) -c $(FFLAGS) parmelamainv503.f |
---|
214 | |
---|
215 | pdist.o:pdist.f |
---|
216 | $(FF) -c $(FFLAGS) pdist.f |
---|
217 | |
---|
218 | poisson.o:poisson.f |
---|
219 | $(FF) -c $(FFLAGS) poisson.f |
---|
220 | |
---|
221 | prch.o:prch.f |
---|
222 | $(FF) -c $(FFLAGS) prch.f |
---|
223 | |
---|
224 | prchold.o:prchold.f |
---|
225 | $(FF) -c $(FFLAGS) prchold.f |
---|
226 | |
---|
227 | pvoldp.o:pvoldp.f |
---|
228 | $(FF) -c $(FFLAGS) pvoldp.f |
---|
229 | |
---|
230 | quad.o:quad.f |
---|
231 | $(FF) -c $(FFLAGS) quad.f |
---|
232 | |
---|
233 | ranf.o:ranf.f |
---|
234 | $(FF) -c $(FFLAGS) ranf.f |
---|
235 | |
---|
236 | rannor.o:rannor.f |
---|
237 | $(FF) -c $(FFLAGS) rannor.f |
---|
238 | |
---|
239 | rn32.o:rn32.f |
---|
240 | $(FF) -c $(FFLAGS) rn32.f |
---|
241 | |
---|
242 | rndm.o:rndm.f |
---|
243 | $(FF) -c $(FFLAGS) rndm.f |
---|
244 | |
---|
245 | rnorth.o:rnorth.f |
---|
246 | $(FF) -c $(FFLAGS) rnorth.f |
---|
247 | |
---|
248 | rotate.o:rotate.f |
---|
249 | $(FF) -c $(FFLAGS) rotate.f |
---|
250 | |
---|
251 | rtmfc.o:rtmfc.f |
---|
252 | $(FF) -c $(FFLAGS) rtmfc.f |
---|
253 | |
---|
254 | rtrans.o:rtrans.f |
---|
255 | $(FF) -c $(FFLAGS) rtrans.f |
---|
256 | |
---|
257 | sandom.o:sandom.f |
---|
258 | $(FF) -c $(FFLAGS) sandom.f |
---|
259 | |
---|
260 | sbload.o:sbload.f |
---|
261 | $(FF) -c $(FFLAGS) sbload.f |
---|
262 | |
---|
263 | sccfc.o:sccfc.f |
---|
264 | $(FF) -c $(FFLAGS) sccfc.f |
---|
265 | |
---|
266 | scheff1.o:scheff1.f |
---|
267 | $(FF) -c $(FFLAGS) scheff1.f |
---|
268 | |
---|
269 | scheff2.o:scheff2.f |
---|
270 | $(FF) -c $(FFLAGS) scheff2.f |
---|
271 | |
---|
272 | scheff3.o:scheff3.f |
---|
273 | $(FF) -c $(FFLAGS) scheff3.f |
---|
274 | |
---|
275 | scwall.o:scwall.f |
---|
276 | $(FF) -c $(FFLAGS) scwall.f |
---|
277 | |
---|
278 | search.o:search.f |
---|
279 | $(FF) -c $(FFLAGS) search.f |
---|
280 | |
---|
281 | setwall.o:setwall.f |
---|
282 | $(FF) -c $(FFLAGS) setwall.f |
---|
283 | |
---|
284 | sextupole.o:sextupole.f |
---|
285 | $(FF) -c $(FFLAGS) sextupole.f |
---|
286 | |
---|
287 | solnoid.o:solnoid.f |
---|
288 | $(FF) -c $(FFLAGS) solnoid.f |
---|
289 | |
---|
290 | sort.o:sort.f |
---|
291 | $(FF) -c $(FFLAGS) sort.f |
---|
292 | |
---|
293 | sortie.o:sortie.f |
---|
294 | $(FF) -c $(FFLAGS) sortie.f |
---|
295 | |
---|
296 | spl1d1.o:spl1d1.f |
---|
297 | $(FF) -c $(FFLAGS) spl1d1.f |
---|
298 | |
---|
299 | spl1d2.o:spl1d2.f |
---|
300 | $(FF) -c $(FFLAGS) spl1d2.f |
---|
301 | |
---|
302 | spl2d1.o:spl2d1.f |
---|
303 | $(FF) -c $(FFLAGS) spl2d1.f |
---|
304 | |
---|
305 | spl2d2.o:spl2d2.f |
---|
306 | $(FF) -c $(FFLAGS) spl2d2.f |
---|
307 | |
---|
308 | spln1.o:spln1.f |
---|
309 | $(FF) -c $(FFLAGS) spln1.f |
---|
310 | |
---|
311 | spln2.o:spln2.f |
---|
312 | $(FF) -c $(FFLAGS) spln2.f |
---|
313 | |
---|
314 | srchfd.o:srchfd.f |
---|
315 | $(FF) -c $(FFLAGS) srchfd.f |
---|
316 | |
---|
317 | sscal.o:sscal.f |
---|
318 | $(FF) -c $(FFLAGS) sscal.f |
---|
319 | |
---|
320 | swap.o:swap.f |
---|
321 | $(FF) -c $(FFLAGS) swap.f |
---|
322 | |
---|
323 | tank.o:tank.f |
---|
324 | $(FF) -c $(FFLAGS) tank.f |
---|
325 | |
---|
326 | trwave.o:trwave.f |
---|
327 | $(FF) -c $(FFLAGS) trwave.f |
---|
328 | |
---|
329 | trwfield.o:trwfield.f |
---|
330 | $(FF) -c $(FFLAGS) trwfield.f |
---|
331 | |
---|
332 | trwimp.o:trwimp.f |
---|
333 | $(FF) -c $(FFLAGS) trwimp.f |
---|
334 | |
---|
335 | wiggler.o:wiggler.f |
---|
336 | $(FF) -c $(FFLAGS) wiggler.f |
---|
337 | |
---|
338 | xi0.o:xi0.f |
---|
339 | $(FF) -c $(FFLAGS) xi0.f |
---|
340 | |
---|
341 | xi10x.o:xi10x.f |
---|
342 | $(FF) -c $(FFLAGS) xi10x.f |
---|
343 | |
---|
344 | zout.o:zout.f |
---|
345 | $(FF) -c $(FFLAGS) zout.f |
---|
346 | |
---|
347 | zoutlal.o:zoutlal.f |
---|
348 | $(FF) -c $(FFLAGS) zoutlal.f |
---|
349 | |
---|
350 | |
---|
351 | |
---|
352 | clean: |
---|
353 | rm *.o |
---|