5 |
# Based on a file from Michel Roethlisberger, IBM Switzerland. # |
# Based on a file from Michel Roethlisberger, IBM Switzerland. # |
6 |
# --------------------------------------------------------------------------- # |
# --------------------------------------------------------------------------- # |
7 |
FC = g77 |
FC = g77 |
8 |
LF= `/cern/pro/bin/cernlib graflib/X11,kernlib,mathlib,packlib` |
LF= `cernlib graflib/X11,kernlib,mathlib,packlib` |
9 |
# FF= -O |
# FF= -O |
10 |
FF= -O3 -malign-double -malign-loops=2 -malign-jumps=2 -malign-functions=2\ |
FF= -O3 -malign-double -malign-loops=2 -malign-jumps=2 -malign-functions=2\ |
11 |
-fno-init-local-zero -ffast-math -fno-f2c\ |
-fno-init-local-zero -ffast-math -fno-f2c\ |
27 |
rm *.f |
rm *.f |
28 |
|
|
29 |
main-7.f: garfield-7.f |
main-7.f: garfield-7.f |
30 |
/cern/pro/bin/fcasplit garfield-7.f |
fcasplit garfield-7.f |
31 |
-rm garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis |
-rm garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis |
32 |
mv main.f main-7.f |
mv main.f main-7.f |
33 |
|
|
36 |
./patchy_step garfield-7 |
./patchy_step garfield-7 |
37 |
|
|
38 |
libgarfield-7.a: garfield-7.f |
libgarfield-7.a: garfield-7.f |
39 |
/cern/pro/bin/fcasplit garfield-7.f |
fcasplit garfield-7.f |
40 |
rm main.f garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis |
rm main.f garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis |
41 |
$(FC) -c $(FF) *.f |
$(FC) -c $(FF) *.f |
42 |
ar crv libgarfield-7.a *.o |
ar crv libgarfield-7.a *.o |
58 |
# rm *.f |
# rm *.f |
59 |
|
|
60 |
main.f: garfield.f |
main.f: garfield.f |
61 |
/cern/pro/bin/fcasplit garfield.f |
fcasplit garfield.f |
62 |
rm garfield.f garfield.mkfca garfield.shfca y.lis |
rm garfield.f garfield.mkfca garfield.shfca y.lis |
63 |
|
|
64 |
garfield.f: garfield.car maggarf.car heed101garf.car garfield.cra |
garfield.f: garfield.car maggarf.car heed101garf.car garfield.cra |