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