/[PAMELA software]/gpamela/Makefile
ViewVC logotype

Diff of /gpamela/Makefile

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.23