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 += ./CaloCuts/CaloNucleiZCut/CaloNucleiZCut.o |
16 |
|
17 |
# Dependencies file. The extension must be .d, and the name equal to the cut name. |
18 |
CPP_DEPS += ./CaloCuts/CaloNucleiZCut/CaloNucleiZCut.d |
19 |
|
20 |
# Rules for compilation. You will likely have only to specify the path. |
21 |
# Put the directory path: |
22 |
# here here |
23 |
./CaloCuts/CaloNucleiZCut/%.o: ./CaloCuts/CaloNucleiZCut/%.cpp $(COMMONDEPS) |
24 |
@echo 'Building file: $<' |
25 |
@echo 'Invoking: GCC C++ Compiler' |
26 |
$(C++) -I${ROOTSYS}/include -I${PAM_INC} -I${PAM_INC}/yoda $(OPTIMIZE) $(EXCLUSIONFLAGS) -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" |
27 |
@echo 'Finished building: $<' |
28 |
@echo ' ' |
29 |
|