--- PamCut/makefile 2010/03/30 08:21:19 1.10 +++ PamCut/makefile 2015/03/25 17:38:09 1.12 @@ -27,7 +27,7 @@ # use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT # to the compiler options for the main analysis program. # 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag -OPTIMIZE = -g3 ${PAM_BIT} #-DDEBUGPAMCUT +OPTIMIZE = -O3 -fPIC ${PAM_BIT} #-DDEBUGPAMCUT # Linker flags # The flags defined here will be directly inserted into the linker invocation. Place here the @@ -46,12 +46,14 @@ # Conversely, if you use optional libraries remember to tell it to the linker. # # Excluded cuts and actions: -# DNO_CALONUCLEI: CaloNucleiZCut +# NO_CALONUCLEI: CaloNucleiZCut # NO_TRKNUCLEI: TrkNucleiZCut # NO_TOFNUCLEI: TofNucleiZCut # NO_CALOPRESAMPLER: ReprocessCaloAction - -EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI #-DNO_CALOPRESAMPLER +# NO_CALOAXIS: CaloAngleCut, CaloCrossCut, CaloGeomCut, CaloGeomYSensCut, CaloIonCut, CaloNHitCut, +# CaloNotIntCut (reduced functionality), CaloTrackChi2Cut, CaloTrackCut, +# TrackRedGeomCut (reduced functionality), CaloChi2HistoAction, CaloAxisChi2VsRigHistoAction +EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI -DNO_CALOPRESAMPLER # -DNO_CALOAXIS # Put below the files on which every .cpp must depend on, ie., those files that, # if modified, will trigger a complete recompilation of the project. @@ -82,6 +84,10 @@ @echo "**** Compiler version and compilation host ****" @$(C++) --version | grep GCC @hostname + @echo "**** Compilation flags ****" + @echo OPTIMIZE: $(OPTIMIZE) + @echo LINKERFLAGS: $(LINKERFLAGS) + @echo EXCLUSIONFLAGS: $(EXCLUSIONFLAGS) @echo # Tool invocations