1 |
# |
2 |
# ************ Subdir makefile ************ |
3 |
# |
4 |
# Author: Nicola Mori |
5 |
# |
6 |
# This file contains the instructions to build the files contained in this |
7 |
# directory. It is not called directly, but it is included by the general |
8 |
# PamCut makefile. So the paths must be relative to the position of that |
9 |
# makefile and not to the path of this file. |
10 |
# |
11 |
# |
12 |
|
13 |
# Choose a name for the object file. This must coincide with the .cpp and .h filename, |
14 |
# except for the extension which has to be .o |
15 |
OBJS += ./CollectionActions/Histo2DActions/CaloDedxVsRigHistoAction/CaloDedxVsRigHistoAction.o |
16 |
|
17 |
# Dependencies file. The extension must be .d, and the name equal to the cut name. |
18 |
CPP_DEPS += ./CollectionActions/Histo2DActions/CaloDedxVsRigHistoAction/CaloDedxVsRigHistoAction.d |
19 |
|
20 |
|
21 |
# Rules for compilation. You will likely have only to specify the path. |
22 |
# Put the directory path: |
23 |
# here here |
24 |
./CollectionActions/Histo2DActions/CaloDedxVsRigHistoAction/%.o: ./CollectionActions/Histo2DActions/CaloDedxVsRigHistoAction/%.cpp $(COMMONDEPS) |
25 |
@echo 'Building file: $<' |
26 |
@echo 'Invoking: GCC C++ Compiler' |
27 |
$(C++) -I${ROOTSYS}/include -I${PAM_INC} -I${PAM_INC}/yoda $(OPTIMIZE) $(EXCLUSIONFLAGS) -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" |
28 |
@echo 'Finished building: $<' |
29 |
@echo ' ' |
30 |
|