/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

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

revision 3.17 by bottai, Tue May 2 12:35:25 2006 UTC revision 3.25 by pamela, Tue Jan 29 18:24:56 2008 UTC
# Line 1  Line 1 
1  #  #
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  GPAMELASRCS= gpamela/ffuser.F gpamela/gdraws.F gpamela/gpadigi.F \  GPAMELASRCS= gpamela/ffuser.F gpamela/gdraws.F gpamela/gpadigi.F \
6          gpamela/gpal.F gpamela/gpdat.F \          gpamela/gpal.F gpamela/gpdat.F \
7          gpamela/gpffr.F gpamela/gpfil.F gpamela/gpgaus.F \          gpamela/gpffr.F gpamela/gpfil.F gpamela/gpgaus.F \
8          gpamela/gpgeo.F gpamela/gphbk.F \          gpamela/gpgeo.F gpamela/gphbk.F \
9          gpamela/gphit.F gpamela/gplook.F \          gpamela/gphit.F gpamela/gplook.F \
10          gpamela/gpmapa.F gpamela/gpmat.F gpamela/gpmed.F \          gpamela/gpmapa.F gpamela/gpmat.F gpamela/gpmed.F \
11          gpamela/gpn2g.F gpamela/gpnhit.F gpamela/gppama.F \          gpamela/gpn2g.F gpamela/gpnhit.F gpamela/gppama.F \
12          gpamela/gprhit.F gpamela/gprsht.F \          gpamela/gprhit.F gpamela/gprsht.F \
13          gpamela/gpsed.F gpamela/gpsptm.F \          gpamela/gpsed.F gpamela/gpsptm.F \
14          gpamela/gpudat.F gpamela/gpudig.F gpamela/gpuffr.F  \          gpamela/gpudat.F gpamela/gpudig.F gpamela/gpuffr.F  \
15          gpamela/gpufil.F gpamela/gpugeo.F gpamela/gpuhbk.F \          gpamela/gpufil.F gpamela/gpugeo.F gpamela/gpuhbk.F \
16          gpamela/gpuhit.F gpamela/gpuini.F \          gpamela/gpuhit.F gpamela/gpuini.F \
17          gpamela/gpukin.F gpamela/gpulas.F \          gpamela/gpukin.F gpamela/gpulas.F \
18          gpamela/gpumat.F gpamela/gpumed.F gpamela/gpuout.F \          gpamela/gpumat.F gpamela/gpumed.F gpamela/gpuout.F \
19          gpamela/gpused.F gpamela/gpustep.F gpamela/gputra.F \          gpamela/gpused.F gpamela/gpustep.F gpamela/gputra.F \
20          gpamela/gputre.F gpamela/gudigi.F \          gpamela/gputre.F gpamela/gudigi.F \
21          gpamela/guhadr.F gpamela/gukine.F gpamela/guout.F \          gpamela/guhadr.F gpamela/gukine.F gpamela/guout.F \
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          gpamela/gprnhran.F          gpamela/gprnhran.F gpamela/ghesig.F \
27  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \          gpamela/gptav.F gpamela/nizlnw.F gpamela/gpnyl6.F \
28          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \          gpamela/gpamg6m.F gpamela/gpiron.F
29          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F  GPCALSRCS = gpcal/gpcalv.F gpcal/gpce.F gpcal/gpdcal.F \
30  GPCASSRCS = gpcas/gpcasv.F gpcas/gpdcas.F gpcas/gpucas.F          gpcal/gpg10c.F gpcal/gpg10.F gpcal/gpsica.F \
31  GPCATSRCS = gpcat/gpcatv.F gpcat/gpdcat.F gpcat/gpucat.F          gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F
32  GPCARDSRCS = gpcard/gpcardv.F gpcard/gpdcard.F gpcard/gpucard.F  GPCASSRCS = gpcas/gpcasv.F gpcas/gpdcas.F gpcas/gpucas.F
33  GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \  GPCATSRCS = gpcat/gpcatv.F gpcat/gpdcat.F gpcat/gpucat.F
34          gpfield/inter_B.F gpfield/inter_B_inner.F gpfield/inter_B_outer.F  GPCARDSRCS = gpcard/gpcardv.F gpcard/gpdcard.F gpcard/gpucard.F
35  GPGARSRCS = gpgar/gpgacl.F  gpgar/gpgapart.F gpgar/gpgarin.F \  GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \
36          gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F          gpfield/inter_B.F gpfield/inter_B_inner.F gpfield/inter_B_outer.F
37  GPHYSSRCSRCS = gphys/gfluct.F  GPGARSRCS = gpgar/gpgacl.F  gpgar/gpgapart.F gpgar/gpgarin.F \
38  GPMAINSRCS = gpmain/gpmain.F          gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F
39  GPSPESRCS  = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \  GPHYSSRCSRCS = gphys/gfluct.F
40          gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \  GPMAINSRCS = gpmain/gpmain.F
41          gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \  GPSPESRCS  = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \
42          gpspe/gprspe.F gpspe/gpudiffusion.F gpspe/gpucollection.F          gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \
43  GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \          gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \
44          gptof/gptofv.F gptof/gputof.F gptof/gpmyl.F          gpspe/gprspe.F gpspe/gpudiffusion.F gpspe/gpucollection.F
45  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \  GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \
46          gptrd/gputrd.F gptrd/gpxe.F gptrd/gpxtr.F \          gptof/gptofv.F gptof/gputof.F gptof/gpmyl.F gptof/gppol.F
47          gptrd/npoiss.F gptrd/xescape.F gptrd/xtrinteg.F \  GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \
48          gptrd/xtrinter.F gptrd/xtryield.F          gptrd/gputrd.F gptrd/gpxe.F gptrd/gpxtr.F \
49  GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F          gptrd/npoiss.F gptrd/xescape.F gptrd/xtrinteg.F \
50  GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpdnd.F gpnd/gpgig.F          gptrd/xtrinter.F gptrd/xtryield.F
51  GPCALORSRC = gpcalor/gpcalor.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 \
53  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \          gpnd/gpgrsigma.F gpnd/gpgres.F gpnd/gpcad.F \
54          $(GPFIELDSRCS)  $(GPGARSRCS) $(GPHYSSRCS) \          gpnd/gpch2.F gpnd/gphe3.F
55          $(GPSPESRCS) $(GPTOFSRCS) $(GPNDSRCS) $(GPTRDSRCS)  $(GPCALORSRC)  GPCALORSRC = gpcalor/gpcalor.F
56  GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) )  #
57  GPDEPENDS =$(GPOBJS:.o=.d)  GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \
58  GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) )          $(GPFIELDSRCS)  $(GPGARSRCS) $(GPHYSSRCS) \
59  GPMAINDEPENDS =$(GPMAINOBJS:.o=.d)          $(GPSPESRCS) $(GPTOFSRCS) $(GPNDSRCS) $(GPTRDSRCS)  $(GPCALORSRC)
60  GPXINTOBJS =$(addsuffix .o,$(basename ${GPXINTSRCS}) )  GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) )
61  GPXINTDEPENDS =$(GPXINTOBJS:.o=.d)  GPDEPENDS =$(GPOBJS:.o=.d)
62  #  GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) )
63  GEANTINC = gcdes  GPMAINDEPENDS =$(GPMAINOBJS:.o=.d)
64  GPINC = gpcdes  GPXINTOBJS =$(addsuffix .o,$(basename ${GPXINTSRCS}) )
65  GPCALORINC = gpcalordes  GPXINTDEPENDS =$(GPXINTOBJS:.o=.d)
66  CERNLIB = `cernlib geant,genlib,pawlib,graflib/X11,packlib,mathlib`  #
67  GPLIBDIR = ./lib  GEANTINC = gcdes
68  GPLIB = ${GPLIBDIR}/libgarfield-7.a  GPINC = gpcdes
69  #  GPCALORINC = gpcalordes
70  BIN = ./bin  CERNLIB = `cernlib geant,genlib,pawlib,graflib/X11,packlib,mathlib`
71  AUX = ./aux  GPLIBDIR = ./lib
72  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/GARFIELD.GAR \  GPLIB = ${GPLIBDIR}/libgarfield-7.a
73          ${AUX}/xe_80_co2_20.gas ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \  #
74          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f ${AUX}/writeseeds.f \  BIN = ./bin
75          ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz ${AUX}/external_top_map_n4_150402.rz  AUX = ./aux
76  GARFIELDSRC = ./garfield/src  AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT \
77  #          ${AUX}/GARFIELD.GAR ${AUX}/xe_80_co2_20.gas \
78  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \          ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \
79          -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP          ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f \
80  BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP          ${AUX}/writeseeds.f ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz \
81  #          ${AUX}/external_top_map_n4_150402.rz \
82  CC = gcc          ${AUX}/Neut1.dat ${AUX}/Neut2.dat ${AUX}/Neut3.dat
83  #FC = g77 -ffortran-bounds-check  
84  FC = g77  GARFIELDSRC = ./garfield/src
85  DEBFLAGS =  -g -fdebug-kludge  #
86  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) -I${GEANTINC} ${BATCHFLAGS}  INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER \
87  LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map          -DGPAMELA_HIGZ \
88            -DGPAMELA_GARFIELD  -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  \
89            -DGPAMELA_BIGMAP
90  gpamelax11.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}  BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD  \
91  gpamelax11.exe: createdir  ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}          -DGPAMELA_MANYWIRE  -DGPAMELA_LONGLIST  -DGPAMELA_BIGMAP
92          @echo Creating $@ .....  #
93          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}  CC = gcc
94          @echo Removing object files .....  #FC = g77 -ffortran-bounds-check
95          @rm -f ${GPOBJS} ${GPXINTOBJS}  FC = g77
96    DEBFLAGS =  -g # -fdebug-kludge
97  gpamela.exe:  FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}  FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) \
98  gpamela.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS}  ${GPDEPENDS} ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}          -I${GEANTINC} ${BATCHFLAGS}
99          @echo Creating $@ .....  LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map
100          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}  
101          @echo Removing object files .....  
102          @rm -f ${GPOBJS} ${GPMAINOBJS}  gpamelax11.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}
103    gpamelax11.exe: createdir  ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}
104  gpamelax11_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}          @echo Creating $@ .....
105  gpamelax11_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}
106  gpamelax11_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}          @echo Removing object files .....
107          @echo Creating $@ .....          @rm -f ${GPOBJS} ${GPXINTOBJS}
108          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}  
109          @echo Removing object files .....  gpamela.exe:  FFLAGS =  -fvxt -fno-automatic -Wno-globals -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}
110          @rm -f ${GPOBJS) ${GPXINTOBJS}  gpamela.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS}  ${GPDEPENDS} ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}
111            @echo Creating $@ .....
112  gpamela_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}
113  gpamelax_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}          @echo Removing object files .....
114  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}          @rm -f ${GPOBJS} ${GPMAINOBJS}
115          @echo Creating $@ .....  
116          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}  gpamelax11_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${INTERFLAGS}
117          @echo Removing object files .....  gpamelax11_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}
118          @rm -f ${GPOBJS) ${GPMAINOBJS}  gpamelax11_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPXINTSRCS} ${GPXINTOBJS} ${GPXINTDEPENDS}
119            @echo Creating $@ .....
120  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS}          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS}
121            @echo Removing object files .....
122  %.d: %.F          @rm -f ${GPOBJS) ${GPXINTOBJS}
123          @echo Creating $@ from $< ;  
124          @$(SHELL) -ec '$(FC) -M $(FFLAGS) $< \  gpamela_deb.exe: FFLAGS =  -fvxt -fno-automatic -Wno-globals  ${DEBFLAGS} -I${GPINC} -I${GPCALORINC} -I${GEANTINC} ${BATCHFLAGS}
125                  | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \  gpamelax_deb.exe: LDFLAGS= ${GPLIB} ${CERNLIB} ${DEBFLAGS}
126                  [ -s $@ ] || rm -f $@'  gpamela_deb.exe: createdir ${GPLIBDIR}/libgarfield-7.a ${GPSRCS} ${GPOBJS} ${GPDEPENDS}  ${GPMAINSRCS} ${GPMAINOBJS} ${GPMAINDEPENDS}
127            @echo Creating $@ .....
128  .PHONY: distclean clean createdir install          $(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS}
129  # Move binaries from the local repository to the official repositories          @echo Removing object files .....
130  install :          @rm -f ${GPOBJS) ${GPMAINOBJS}
131          @test -d "$(GPAMELA_BIN)" && \  
132          (echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \  depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS}
133           mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp  ${AUXFILES} $(GPAMELA_BIN)/.;\  
134          echo "Now unzipping the GCALOR cross section data files"; \  %.d: %.F
135          gzip -dv $(GPAMELA_BIN)/xsneut.dat.gz $(GPAMELA_BIN)/chetc.dat.gz)          @echo Creating $@ from $< ;
136            @$(SHELL) -ec '$(FC) -M $(FFLAGS) $< \
137  ${GPLIBDIR}/libgarfield-7.a:                    | sed '\''s/\($(*F)\)\.o[ :]*/ $(*D)\/\1.o $(*D)\/$(*F)\.d : /g'\'' > $@; \
138          @echo Creating  libgarfield-7.a it will take few minutes .....                  [ -s $@ ] || rm -f $@'
139          @cd  ${GARFIELDSRC}; make -f makefile_linux libgarfield-7.a  
140          @test -d "${GPLIBDIR}" || (echo "Creating ${GPLIBDIR}"; mkdir ${GPLIBDIR})  .PHONY: distclean clean createdir install
141          @echo Copyng $(@F) to ${GPLIBDIR}  # Move binaries from the local repository to the official repositories
142          @cp ${GARFIELDSRC}/$(@F)  ${GPLIBDIR}  install :
143            @test -d "$(GPAMELA_BIN)" && \
144  # Create binary local repository if non existent          (echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \
145  createdir :           mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp  ${AUXFILES} $(GPAMELA_BIN)/.;\
146          @test -d "${BIN}" || (echo "Creating ${BIN}"; mkdir ${BIN})          echo "Now unzipping the GCALOR cross section data files"; \
147            gzip -dv $(GPAMELA_BIN)/xsneut.dat.gz $(GPAMELA_BIN)/chetc.dat.gz)
148  distclean: clean  
149          @echo Removing garfield sources, objects and libraries  ${GPLIBDIR}/libgarfield-7.a:  
150          @cd  ${GARFIELDSRC}; rm -f *.f *.o libgarfield-7.a          @echo Creating  libgarfield-7.a it will take few minutes .....
151          @rm -f ${GPLIBDIR}/libgarfield-7.a          @cd  ${GARFIELDSRC}; make -f makefile_linux libgarfield-7.a
152          @rm -fr ${GPLIBDIR}          @test -d "${GPLIBDIR}" || (echo "Creating ${GPLIBDIR}"; mkdir ${GPLIBDIR})
153          @echo Removing executables .....          @echo Copyng $(@F) to ${GPLIBDIR}
154          @rm -fr ${BIN}          @cp ${GARFIELDSRC}/$(@F)  ${GPLIBDIR}
155    
156    # Create binary local repository if non existent
157    createdir :
158  clean:          @test -d "${BIN}" || (echo "Creating ${BIN}"; mkdir ${BIN})
159          @echo Removing object files .....  
160          @rm -f ${GPOBJS}        ${GPMAINOBJS} ${GPXINTOBJS}  distclean: clean
161          @echo Removing dependencies files .....          @echo Removing garfield sources, objects and libraries
162          @rm -f ${GPDEPENDS} ${GPMAINDEPENDS} ${GPXINTDEPENDS}          @cd  ${GARFIELDSRC}; rm -f *.f *.o libgarfield-7.a
163            @rm -f ${GPLIBDIR}/libgarfield-7.a
164  include ${GPDEPENDS}          @rm -fr ${GPLIBDIR}
165            @echo Removing executables .....
166            @rm -fr ${BIN}
167    
168    
169    
170    clean:
171            @echo Removing object files .....
172            @rm -f ${GPOBJS}        ${GPMAINOBJS} ${GPXINTOBJS}
173            @echo Removing dependencies files .....
174            @rm -f ${GPDEPENDS} ${GPMAINDEPENDS} ${GPXINTDEPENDS}
175    
176    include ${GPDEPENDS}
177    
178    

Legend:
Removed from v.3.17  
changed lines
  Added in v.3.25

  ViewVC Help
Powered by ViewVC 1.1.23