--- gpamela/Makefile 2005/12/14 03:00:37 3.12 +++ gpamela/Makefile 2006/05/02 12:35:25 3.17 @@ -29,8 +29,9 @@ gpcal/gpucal.F gpcal/gpw2.F gpcal/gpw.F GPCASSRCS = gpcas/gpcasv.F gpcas/gpdcas.F gpcas/gpucas.F GPCATSRCS = gpcat/gpcatv.F gpcat/gpdcat.F gpcat/gpucat.F +GPCARDSRCS = gpcard/gpcardv.F gpcard/gpdcard.F gpcard/gpucard.F GPFIELDSRCS = gpfield/flin3.F gpfield/gufld.F gpfield/gprbi.F \ - gpfield/inter_B.F gpfield/inter_B_inner.F + gpfield/inter_B.F gpfield/inter_B_inner.F gpfield/inter_B_outer.F GPGARSRCS = gpgar/gpgacl.F gpgar/gpgapart.F gpgar/gpgarin.F \ gpgar/gpgarsel.F gpgar/gptogar.F gpgar/grinit.F GPHYSSRCSRCS = gphys/gfluct.F @@ -38,19 +39,20 @@ GPSPESRCS = gpspe/gpcp.F gpspe/gpdspe.F gpspe/gpfe.F \ gpspe/gpkap.F gpspe/gpmaspe.F gpspe/gproa.F \ gpspe/gpsitr.F gpspe/gpspema.F gpspe/gpspev.F gpspe/gpuspe.F \ - gpspe/gprspe.F + gpspe/gprspe.F gpspe/gpudiffusion.F gpspe/gpucollection.F GPTOFSRCS = gptof/gpdtof.F gptof/gpscin.F gptof/gpscint.F \ - gptof/gptofv.F gptof/gputof.F + gptof/gptofv.F gptof/gputof.F gptof/gpmyl.F GPTRDSRCS = gptrd/gpdtrd.F gptrd/gptrad.F gptrd/gptrdv.F \ gptrd/gputrd.F gptrd/gpxe.F gptrd/gpxtr.F \ gptrd/npoiss.F gptrd/xescape.F gptrd/xtrinteg.F \ gptrd/xtrinter.F gptrd/xtryield.F GPXINTSRCS = gpxint/gxint.F gpxint/qnext.F -GPNDSRCS = gpnd/gpndv.F +GPNDSRCS = gpnd/gpndv.F gpnd/gpgigp.F gpnd/gpund.F gpnd/gpdnd.F gpnd/gpgig.F GPCALORSRC = gpcalor/gpcalor.F # -GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPFIELDSRCS) $(GPGARSRCS) $(GPHYSSRCS) \ - $(GPSPESRCS) $(GPTOFSRCS) $(GPTRDSRCS) $(GPNDSRCS) $(GPCALORSRC) +GPSRCS = $(GPAMELASRCS) $(GPCALSRCS) $(GPCASSRCS) $(GPCATSRCS) $(GPCARDSRCS) \ + $(GPFIELDSRCS) $(GPGARSRCS) $(GPHYSSRCS) \ + $(GPSPESRCS) $(GPTOFSRCS) $(GPNDSRCS) $(GPTRDSRCS) $(GPCALORSRC) GPOBJS =$(addsuffix .o,$(basename ${GPSRCS}) ) GPDEPENDS =$(GPOBJS:.o=.d) GPMAINOBJS =$(addsuffix .o,$(basename ${GPMAINSRCS}) ) @@ -70,7 +72,7 @@ AUXFILES = ${AUX}/gpfield.rz ${AUX}/GPAMELA.FFR ${AUX}/TRD_ATT.DAT ${AUX}/GARFIELD.GAR \ ${AUX}/xe_80_co2_20.gas ${AUX}/measure_n3_290302.rz ${AUX}/measure_n4_110402_corrected.rz \ ${AUX}/resxy_new.rz ${AUX}/INPUTSEED.DAT ${AUX}/readseeds.f ${AUX}/writeseeds.f \ - ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz + ${AUX}/chetc.dat.gz ${AUX}/xsneut.dat.gz ${AUX}/external_top_map_n4_150402.rz GARFIELDSRC = ./garfield/src # INTERFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_X11 -DGPAMELA_INTER -DGPAMELA_HIGZ \ @@ -78,7 +80,8 @@ BATCHFLAGS = -DGPAMELA_UNIX -DGPAMELA_TYPE -DGPAMELA_GARFIELD -DGPAMELA_MANYWIRE -DGPAMELA_LONGLIST -DGPAMELA_BIGMAP # CC = gcc -FC = g77 +#FC = g77 -ffortran-bounds-check +FC = g77 DEBFLAGS = -g -fdebug-kludge FFLAGS = -fvxt -fno-automatic -Wno-globals -I${GPINC} -I$(GPCALORINC) -I${GEANTINC} ${BATCHFLAGS} LDFLAGS= ${GPLIB} ${CERNLIB} -Xlinker -Map -Xlinker $@.map @@ -127,8 +130,9 @@ install : @test -d "$(GPAMELA_BIN)" && \ (echo "Now moving executable and auxiliary files to $(GPAMELA_BIN)"; \ - mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp ${AUXFILES} $(GPAMELA_BIN)/.; \ - echo "Now unzipping the GCALOR cross section data files"; gzip -dv xsneut.dat.gz chetc.dat.gz) + mv -f $(BIN)/*.exe $(GPAMELA_BIN)/. ; cp ${AUXFILES} $(GPAMELA_BIN)/.;\ + echo "Now unzipping the GCALOR cross section data files"; \ + gzip -dv $(GPAMELA_BIN)/xsneut.dat.gz $(GPAMELA_BIN)/chetc.dat.gz) ${GPLIBDIR}/libgarfield-7.a: @echo Creating libgarfield-7.a it will take few minutes .....