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