--- PamCut/CaloCuts/CaloGeomYSensCut/subdir.mk 2010/05/06 17:08:03 1.1 +++ PamCut/CaloCuts/CaloGeomYSensCut/subdir.mk 2010/07/08 14:00:09 1.2 @@ -0,0 +1,29 @@ +# +# ************ 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/CaloGeomYSensCut/CaloGeomYSensCut.o + +# Dependencies file. The extension must be .d, and the name equal to the cut name. +CPP_DEPS += ./CaloCuts/CaloGeomYSensCut/CaloGeomYSensCut.d + +# Rules for compilation. You will likely have only to specify the path. +# Put the directory path: +# here here +./CaloCuts/CaloGeomYSensCut/%.o: ./CaloCuts/CaloGeomYSensCut/%.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 ' ' +