| 12 |
|
|
| 13 |
# Choose a name for the object file. This must coincide with the .cpp and .h filename, |
# 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 |
# except for the extension which has to be .o |
| 15 |
OBJS += ./MiscCuts/GeoFieldCut/GeoFieldCut.o |
OBJS += ./MiscCuts/StoermerCut/StoermerCut.o |
| 16 |
|
|
| 17 |
# Dependencies file. The extension must be .d, and the name equal to the cut name. |
# Dependencies file. The extension must be .d, and the name equal to the cut name. |
| 18 |
CPP_DEPS += ./MiscCuts/GeoFieldCut/GeoFieldCut.d |
CPP_DEPS += ./MiscCuts/StoermerCut/StoermerCut.d |
| 19 |
|
|
| 20 |
# Rules for compilation. You will likely have only to specify the path. |
# Rules for compilation. You will likely have only to specify the path. |
| 21 |
# Put the directory path: |
# Put the directory path: |
| 22 |
# here here |
# here here |
| 23 |
./MiscCuts/GeoFieldCut/%.o: ./MiscCuts/GeoFieldCut/%.cpp $(COMMONDEPS) |
./MiscCuts/StoermerCut/%.o: ./MiscCuts/StoermerCut/%.cpp $(COMMONDEPS) |
| 24 |
@echo 'Building file: $<' |
@echo 'Building file: $<' |
| 25 |
@echo 'Invoking: GCC C++ Compiler' |
@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"$@" "$<" |
$(C++) -I${ROOTSYS}/include -I${PAM_INC} -I${PAM_INC}/yoda $(OPTIMIZE) $(EXCLUSIONFLAGS) -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" |