/[PAMELA software]/gpamela/garfield/src/makefile_linux
ViewVC logotype

Diff of /gpamela/garfield/src/makefile_linux

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3.1.1.1 by cafagna, Thu Jul 11 16:02:02 2002 UTC revision 3.4 by mocchiut, Thu Jan 23 13:55:51 2014 UTC
# Line 5  Line 5 
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 Flags mod by CAF on 2 Oct 2007 , obsolete options changed
11    # FF= -O3 -malign-double -malign-loops=2 -malign-jumps=2 -malign-functions=2\
12    # -fno-init-local-zero -ffast-math -fno-f2c\
13    # -fforce-mem -fforce-addr -fcaller-saves -fstrength-reduce\
14    # -funroll-loops -frerun-cse-after-loop \
15    #  -g -fdebug-kludge
16    FF= -m32 -O3 -malign-double -falign-loops=2 -falign-jumps=2 -falign-functions=2\
17  -fno-init-local-zero -ffast-math -fno-f2c\  -fno-init-local-zero -ffast-math -fno-f2c\
18  -fforce-mem -fforce-addr -fcaller-saves -fstrength-reduce\  -fforce-mem -fforce-addr -fcaller-saves -fstrength-reduce\
19  -funroll-loops -frerun-cse-after-loop \  -funroll-loops -frerun-cse-after-loop \
20   -g -fdebug-kludge   -g
21    # end CAF mod
22  # G77_LIB_DIR=/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3  # G77_LIB_DIR=/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3
23  # LF=-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -s -x -L$(G77_LIB_DIR)  # LF=-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -s -x -L$(G77_LIB_DIR)
24  # LNKPRE=/usr/lib/crt1.o /usr/lib/crti.o $(G77_LIB_DIR)/crtbegin.o  # LNKPRE=/usr/lib/crt1.o /usr/lib/crti.o $(G77_LIB_DIR)/crtbegin.o
# Line 27  main-7.o: main-7.f Line 34  main-7.o: main-7.f
34          rm *.f          rm *.f
35    
36  main-7.f: garfield-7.f  main-7.f: garfield-7.f
37          /cern/pro/bin/fcasplit garfield-7.f          fcasplit garfield-7.f
38          -rm garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis          -rm garfield-7.f garfield-7.mkfca garfield-7.shfca y.lis
39          mv main.f main-7.f          mv main.f main-7.f
40    
# Line 36  garfield-7.f: garfield-7.car magboltz-2. Line 43  garfield-7.f: garfield-7.car magboltz-2.
43          ./patchy_step garfield-7          ./patchy_step garfield-7
44    
45  libgarfield-7.a: garfield-7.f  libgarfield-7.a: garfield-7.f
46          /cern/pro/bin/fcasplit garfield-7.f          fcasplit garfield-7.f
47          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
48          $(FC) -c $(FF) *.f          $(FC) -c $(FF) *.f
49          ar crv libgarfield-7.a *.o          ar crv libgarfield-7.a *.o
# Line 58  main.o: main.f Line 65  main.o: main.f
65  #       rm *.f  #       rm *.f
66    
67  main.f: garfield.f  main.f: garfield.f
68          /cern/pro/bin/fcasplit garfield.f          fcasplit garfield.f
69          rm garfield.f garfield.mkfca garfield.shfca y.lis          rm garfield.f garfield.mkfca garfield.shfca y.lis
70    
71  garfield.f: garfield.car maggarf.car heed101garf.car garfield.cra  garfield.f: garfield.car maggarf.car heed101garf.car garfield.cra

Legend:
Removed from v.3.1.1.1  
changed lines
  Added in v.3.4

  ViewVC Help
Powered by ViewVC 1.1.23