27 |
# use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT |
# use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT |
28 |
# to the compiler options for the main analysis program. |
# to the compiler options for the main analysis program. |
29 |
# 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag |
# 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag |
30 |
OPTIMIZE = -g3 ${PAM_BIT} #-DDEBUGPAMCUT |
OPTIMIZE = -O3 -fPIC ${PAM_BIT} #-DDEBUGPAMCUT |
31 |
|
|
32 |
# Linker flags |
# Linker flags |
33 |
# The flags defined here will be directly inserted into the linker invocation. Place here the |
# The flags defined here will be directly inserted into the linker invocation. Place here the |
46 |
# Conversely, if you use optional libraries remember to tell it to the linker. |
# Conversely, if you use optional libraries remember to tell it to the linker. |
47 |
# |
# |
48 |
# Excluded cuts and actions: |
# Excluded cuts and actions: |
49 |
# DNO_CALONUCLEI: CaloNucleiZCut |
# NO_CALONUCLEI: CaloNucleiZCut |
50 |
# NO_TRKNUCLEI: TrkNucleiZCut |
# NO_TRKNUCLEI: TrkNucleiZCut |
51 |
# NO_TOFNUCLEI: TofNucleiZCut |
# NO_TOFNUCLEI: TofNucleiZCut |
52 |
# NO_CALOPRESAMPLER: ReprocessCaloAction |
# NO_CALOPRESAMPLER: ReprocessCaloAction |
53 |
|
# NO_CALOAXIS: CaloAngleCut, CaloCrossCut, CaloGeomCut, CaloGeomYSensCut, CaloIonCut, CaloNHitCut, |
54 |
EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI #-DNO_CALOPRESAMPLER |
# CaloNotIntCut (reduced functionality), CaloTrackChi2Cut, CaloTrackCut, |
55 |
|
# TrackRedGeomCut (reduced functionality), CaloChi2HistoAction, CaloAxisChi2VsRigHistoAction |
56 |
|
EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI -DNO_CALOPRESAMPLER # -DNO_CALOAXIS |
57 |
|
|
58 |
# Put below the files on which every .cpp must depend on, ie., those files that, |
# Put below the files on which every .cpp must depend on, ie., those files that, |
59 |
# if modified, will trigger a complete recompilation of the project. |
# if modified, will trigger a complete recompilation of the project. |
84 |
@echo "**** Compiler version and compilation host ****" |
@echo "**** Compiler version and compilation host ****" |
85 |
@$(C++) --version | grep GCC |
@$(C++) --version | grep GCC |
86 |
@hostname |
@hostname |
87 |
|
@echo "**** Compilation flags ****" |
88 |
|
@echo OPTIMIZE: $(OPTIMIZE) |
89 |
|
@echo LINKERFLAGS: $(LINKERFLAGS) |
90 |
|
@echo EXCLUSIONFLAGS: $(EXCLUSIONFLAGS) |
91 |
@echo |
@echo |
92 |
|
|
93 |
# Tool invocations |
# Tool invocations |