/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

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

revision 3.20 by pam-ba, Fri Oct 13 16:36:57 2006 UTC revision 3.27 by mocchiut, Thu Jan 23 13:55:47 2014 UTC
# Line 23  GPAMELASRCS= gpamela/ffuser.F gpamela/gd Line 23  GPAMELASRCS= gpamela/ffuser.F gpamela/gd
23          gpamela/gutrak.F gpamela/gutrev.F \          gpamela/gutrak.F gpamela/gutrev.F \
24          gpamela/gviewyz.F gpamela/n2g.F \          gpamela/gviewyz.F gpamela/n2g.F \
25          gpamela/uginit.F gpamela/uglast.F \          gpamela/uginit.F gpamela/uglast.F \
26          gpamela/gprnhran.F          gpamela/gprnhran.F gpamela/ghesig.F \
27            gpamela/gptav.F gpamela/nizlnw.F gpamela/gpnyl6.F \
28            gpamela/gpamg6m.F gpamela/gpiron.F
29  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \
30          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \
31          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F
# Line 48  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad. Line 50  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.
50          gptrd/xtrinter.F gptrd/xtryield.F          gptrd/xtrinter.F gptrd/xtryield.F
51  GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F  GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F
52  GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpdnd.F gpnd/gpgig.F \  GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpdnd.F gpnd/gpgig.F \
53          gpnd/gpgrsigma.F gpnd/gpgres.F gpnd/gpcad.F          gpnd/gpgrsigma.F gpnd/gpgres.F gpnd/gpcad.F \
54            gpnd/gpch2.F gpnd/gphe3.F
55  GPCALORSRC = gpcalor/gpcalor.F  GPCALORSRC = gpcalor/gpcalor.F
56  #  #
57  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \
# Line 76  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAM Line 79  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAM
79          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f \          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f \
80          ${AUX}/writeseeds.f ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz \          ${AUX}/writeseeds.f ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz \
81          ${AUX}/external_top_map_n4_150402.rz \          ${AUX}/external_top_map_n4_150402.rz \
82          ${AUX}/Neut1.dat ${AUX}/Neut2.dat ${AUX}/Neut3.dat          ${AUX}/Neut1.dat ${AUX}/Neut2.dat ${AUX}/Neut3.dat \
83            ${AUX}/parameters_l1s1.dat ${AUX}/parameters_l1s2.dat \
84            ${AUX}/parameters_l2s1.dat ${AUX}/parameters_l2s2.dat \
85            ${AUX}/parameters_l3s1.dat ${AUX}/parameters_l3s2.dat
86    
87  GARFIELDSRC = ./garfield/src  GARFIELDSRC = ./garfield/src
88  #  #
# Line 90  BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TY Line 96  BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TY
96  CC = gcc  CC = gcc
97  #FC = g77 -ffortran-bounds-check  #FC = g77 -ffortran-bounds-check
98  FC = g77  FC = g77
99  DEBFLAGS =  -g -fdebug-kludge  DEBFLAGS =  -g # -fdebug-kludge
100  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) \  FFLAGS =-m32 -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) \
101          -I${GEANTINC} ${BATCHFLAGS}          -I${GEANTINC} ${BATCHFLAGS}
102  LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map  LDFLAGS= ${GPLIB} ${CERNLIB} -m32 -lg2c -Xlinker -Map -Xlinker $@.map
103    
104    
105  gpamelax11.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}  gpamelax11.exe: FFLAGS =  -m32 -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}
106  gpamelax11.exe: createdir  ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}  gpamelax11.exe: createdir  ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}
107          @echo Creating $@ .....          @echo Creating $@ .....
108          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}
109          @echo Removing object files .....          @echo Removing object files .....
110          @rm -f ${GPOBJS} ${GPXINTOBJS}          @rm -f ${GPOBJS} ${GPXINTOBJS}
111    
112  gpamela.exe:  FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}  gpamela.exe:  FFLAGS =  -m32 -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}
113  gpamela.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS}  ${GPDEPENDS} ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}  gpamela.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS}  ${GPDEPENDS} ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}
114          @echo Creating $@ .....          @echo Creating $@ .....
115          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}
116          @echo Removing object files .....          @echo Removing object files .....
117          @rm -f ${GPOBJS} ${GPMAINOBJS}          @rm -f ${GPOBJS} ${GPMAINOBJS}
118    
119  gpamelax11_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}  gpamelax11_deb.exe: FFLAGS =  -m32 -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}
120  gpamelax11_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}  gpamelax11_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}
121  gpamelax11_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}  gpamelax11_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}
122          @echo Creating $@ .....          @echo Creating $@ .....
# Line 118  gpamelax11_deb.exe: createdir ${GPLIBDIR Line 124  gpamelax11_deb.exe: createdir ${GPLIBDIR
124          @echo Removing object files .....          @echo Removing object files .....
125          @rm -f ${GPOBJS) ${GPXINTOBJS}          @rm -f ${GPOBJS) ${GPXINTOBJS}
126    
127  gpamela_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}  gpamela_deb.exe: FFLAGS =  -m32 -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}
128  gpamelax_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}  gpamelax_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}
129  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}
130          @echo Creating $@ .....          @echo Creating $@ .....

Legend:
Removed from v.3.20  
changed lines
  Added in v.3.27

  ViewVC Help
Powered by ViewVC 1.1.23