# # ************ 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 += ./CaloCuts/CaloNucleiZCut/CaloNucleiZCut.o # Dependencies file. The extension must be .d, and the name equal to the cut name. CPP_DEPS += ./CaloCuts/CaloNucleiZCut/CaloNucleiZCut.d # Rules for compilation. You will likely have only to specify the path. # Put the directory path: # here here ./CaloCuts/CaloNucleiZCut/%.o: ./CaloCuts/CaloNucleiZCut/%.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 ' '