--- PamCut/makefile 2009/08/14 10:29:33 1.4 +++ PamCut/makefile 2009/12/04 14:38:36 1.6 @@ -35,9 +35,12 @@ # PamCut software which make use of unavailable libraries. Remember to place # the code to be excluded between proper preprocessor directives. See the documentation or the cut # TofNucleiZCut for an example. -EXCLUSIONFLAGS = -DNO_TOFNUCLEI -DNO_CALONUCLEI -DNO_TRKNUCLEI - +# Since PamCut headers may refer to the optional libraries, it's important to define the same +# flags when compiling the analysis code. Otherwise, analysis code will include PamCut headers which, +# if no exclusion flag is set, will try to include optional software headers. +# Conversely, if you use optional libraries remember to tell it to the linker. +EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI # 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.