/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

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

revision 3.1 by cafagna, Thu Jul 11 16:01:58 2002 UTC revision 3.8 by cafagna, Mon Jul 25 11:53:19 2005 UTC
# Line 22  GPAMELASRCS= gpamela/ffuser.F gpamela/gd Line 22  GPAMELASRCS= gpamela/ffuser.F gpamela/gd
22          gpamela/guphad.F gpamela/gustep.F \          gpamela/guphad.F gpamela/gustep.F \
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  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \
27          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \
28          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F
# Line 61  GPLIB = ${GPLIBDIR}/libgarfield-7.a Line 61  GPLIB = ${GPLIBDIR}/libgarfield-7.a
61  #  #
62  BIN = ./bin  BIN = ./bin
63  AUX = ./aux  AUX = ./aux
64  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/PROVA.GAR  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/GARFIELD.GAR \
65    $(AUX)/xe_80_co2_20.gas
66  GARFIELDSRC = ./garfield/src  GARFIELDSRC = ./garfield/src
67  #  #
68  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \
# Line 73  FC = g77 Line 74  FC = g77
74  DEBFLAGS =  -g -fdebug-kludge  DEBFLAGS =  -g -fdebug-kludge
75  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}
76  LDFLAGS= ${GPLIB} ${CERNLIB}  LDFLAGS= ${GPLIB} ${CERNLIB}
77  PHONY: distclean clean createdir install  
78    
79  gpamelax11.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${INTERFLAGS}  gpamelax11.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${INTERFLAGS}
80  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}
# Line 97  gpamelax11_deb.exe: createdir ${GPLIBDIR Line 98  gpamelax11_deb.exe: createdir ${GPLIBDIR
98          @rm -f ${GPOBJS) ${GPXINTOBJS}          @rm -f ${GPOBJS) ${GPXINTOBJS}
99    
100  gpamela_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}  gpamela_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}
101  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}
102          @echo Creating $@ .....          @echo Creating $@ .....
103          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}
104          @echo Removing object files .....          @echo Removing object files .....
105          @rm -f ${GPOBJS) ${GPXINTOBJS}          @rm -f ${GPOBJS) ${GPMAINOBJS}
106    
107  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS}  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS}
108    
# Line 111  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS Line 112  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS
112                  | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \                  | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \
113                  [ -s $@ ] || rm -f $@'                  [ -s $@ ] || rm -f $@'
114    
115    .PHONY: distclean clean createdir install
116  # Move binaries from the local repository to the official repositories  # Move binaries from the local repository to the official repositories
117  install :  install :
118          @test -d "$(GPAMELA_BIN)" && \          @test -d "$(GPAMELA_BIN)" && \

Legend:
Removed from v.3.1  
changed lines
  Added in v.3.8

  ViewVC Help
Powered by ViewVC 1.1.23