# # ************ Subdir makefile ************ # # Author: Nicola Mori # # This file contains the instructions to build the files contained in this # directory. It is not called directly, but it is included by the general # PamCut makefile. So the paths must be relative to the position of that # makefile and not to the path of this file. # # # Choose a name for the object file. This must coincide with the .cpp and .h filename, # except for the extension which has to be .o OBJS += ./CollectionActions/Histo2DActions/TrkRigVsGPMomHistoAction/TrkRigVsGPMomHistoAction.o # Dependencies file. The extension must be .d, and the name equal to the cut name. CPP_DEPS += ./CollectionActions/Histo2DActions/TrkRigVsGPMomHistoAction/TrkRigVsGPMomHistoAction.d # Rules for compilation. You will likely have only to specify the path. # Put the directory path: # here here ./CollectionActions/Histo2DActions/TrkRigVsGPMomHistoAction/%.o: ./CollectionActions/Histo2DActions/TrkRigVsGPMomHistoAction/%.cpp $(COMMONDEPS) @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' $(C++) -I${ROOTSYS}/include -I${PAM_INC} -I${PAM_INC}/yoda $(OPTIMIZE) $(EXCLUSIONFLAGS) -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" @echo 'Finished building: $<' @echo ' '