/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

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

revision 3.3 by pamela, Thu Dec 5 10:17:41 2002 UTC revision 3.7 by pamela, Thu Jul 21 13:23:43 2005 UTC
# Line 2  Line 2 
2  # Steering Makefile to create gpamelaX11 and gpamela executable  # Steering Makefile to create gpamelaX11 and gpamela executable
3  # First of all define the src files. One for each subdirectory  # First of all define the src files. One for each subdirectory
4  #  #
5    # some addition
6  GPAMELASRCS= gpamela/ffuser.F gpamela/gdraws.F gpamela/gpadigi.F \  GPAMELASRCS= gpamela/ffuser.F gpamela/gdraws.F gpamela/gpadigi.F \
7          gpamela/gpal.F gpamela/gpdat.F \          gpamela/gpal.F gpamela/gpdat.F \
8          gpamela/gpffr.F gpamela/gpfil.F gpamela/gpgaus.F \          gpamela/gpffr.F gpamela/gpfil.F gpamela/gpgaus.F \
# Line 22  GPAMELASRCS= gpamela/ffuser.F gpamela/gd Line 23  GPAMELASRCS= gpamela/ffuser.F gpamela/gd
23          gpamela/guphad.F gpamela/gustep.F \          gpamela/guphad.F gpamela/gustep.F \
24          gpamela/gutrak.F gpamela/gutrev.F \          gpamela/gutrak.F gpamela/gutrev.F \
25          gpamela/gviewyz.F gpamela/n2g.F \          gpamela/gviewyz.F gpamela/n2g.F \
26          gpamela/uginit.F gpamela/uglast.F          gpamela/uginit.F gpamela/uglast.F
27  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \
28          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \
29          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 62  GPLIB = ${GPLIBDIR}/libgarfield-7.a
62  #  #
63  BIN = ./bin  BIN = ./bin
64  AUX = ./aux  AUX = ./aux
65  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 \
66  $(AUX)/xe_80_co2_20.gas  $(AUX)/xe_80_co2_20.gas
67  GARFIELDSRC = ./garfield/src  GARFIELDSRC = ./garfield/src
68  #  #
# Line 75  DEBFLAGS =  -g -fdebug-kludge Line 76  DEBFLAGS =  -g -fdebug-kludge
76  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GEANTINC} ${BATCHFLAGS}
77  LDFLAGS= ${GPLIB} ${CERNLIB}  LDFLAGS= ${GPLIB} ${CERNLIB}
78    
 PHONY: distclean clean createdir install  
79    
80  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}
81  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 113  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS Line 113  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS
113                  | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \                  | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \
114                  [ -s $@ ] || rm -f $@'                  [ -s $@ ] || rm -f $@'
115    
116    .PHONY: distclean clean createdir install
117  # Move binaries from the local repository to the official repositories  # Move binaries from the local repository to the official repositories
118  install :  install :
119          @test -d "$(GPAMELA_BIN)" && \          @test -d "$(GPAMELA_BIN)" && \

Legend:
Removed from v.3.3  
changed lines
  Added in v.3.7

  ViewVC Help
Powered by ViewVC 1.1.23