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 |
$(AUX)/xe_80_co2_20.gas |
66 |
GARFIELDSRC = ./garfield/src |
GARFIELDSRC = ./garfield/src |
67 |
# |
# |
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 |
|
|
78 |
PHONY: distclean clean createdir install |
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} |
99 |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
100 |
|
|
101 |
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} |
102 |
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} |
103 |
@echo Creating $@ ..... |
@echo Creating $@ ..... |
104 |
$(FC) -o ${BIN}/$@ ${GPOBJS} ${GPXINTOBJS} ${LDFLAGS} |
$(FC) -o ${BIN}/$@ ${GPOBJS} ${GPMAINOBJS} ${LDFLAGS} |
105 |
@echo Removing object files ..... |
@echo Removing object files ..... |
106 |
@rm -f ${GPOBJS) ${GPXINTOBJS} |
@rm -f ${GPOBJS) ${GPMAINOBJS} |
107 |
|
|
108 |
depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS} |
depend: ${GPXINTDEPENDS} ${GPMAINDEPENDS} ${GPDEPENDS} |
109 |
|
|