| 28 |
# to the compiler options for the main analysis program. |
# to the compiler options for the main analysis program. |
| 29 |
OPTIMIZE = -g3 #-DDEBUGPAMCUT |
OPTIMIZE = -g3 #-DDEBUGPAMCUT |
| 30 |
|
|
| 31 |
|
|
| 32 |
# Library flags |
# Library flags |
| 33 |
# Pamela software is modular, so some libraries may not be available in some istallations. |
# Pamela software is modular, so some libraries may not be available in some istallations. |
| 34 |
# To avoid linking problems, here you can define flags to exclude those parts of the |
# To avoid linking problems, here you can define flags to exclude those parts of the |
| 35 |
# PamCut software which make use of unavailable libraries. Remember to place |
# PamCut software which make use of unavailable libraries. Remember to place |
| 36 |
# the code to be excluded between proper preprocessor directives. See the documentation or the cut |
# the code to be excluded between proper preprocessor directives. See the documentation or the cut |
| 37 |
# TofNucleiZCut for an example. |
# TofNucleiZCut for an example. |
|
EXCLUSIONFLAGS = #-DNO_TOFNUCLEI -DNO_CALONUCLEI -DNO_TRKNUCLEI |
|
|
|
|
| 38 |
|
|
| 39 |
|
EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI #-DNO_TOFNUCLEI -DNO_CALONUCLEI -DNO_TRKNUCLEI |
| 40 |
|
|
| 41 |
# Put below the files on which every .cpp must depend on, ie., those files that, |
# Put below the files on which every .cpp must depend on, ie., those files that, |
| 42 |
# if modified, will trigger a complete recompilation of the project. |
# if modified, will trigger a complete recompilation of the project. |
| 62 |
endif |
endif |
| 63 |
|
|
| 64 |
# All Target |
# All Target |
| 65 |
all: libPamCut.so version |
all: libPamCut.so |
| 66 |
|
@echo |
| 67 |
|
@echo "**** Compiler version and compilation host ****" |
| 68 |
|
@$(C++) --version | grep GCC |
| 69 |
|
@hostname |
| 70 |
|
@echo |
| 71 |
|
|
| 72 |
# Tool invocations |
# Tool invocations |
| 73 |
libPamCut.so: $(OBJS) $(USER_OBJS) |
libPamCut.so: $(OBJS) $(USER_OBJS) |
| 74 |
@echo 'Building target: $@' |
@echo 'Building target: $@' |
| 101 |
fi |
fi |
| 102 |
@echo PamCut installed. |
@echo PamCut installed. |
| 103 |
|
|
| 104 |
version: |
.PHONY: all clean distclean install |
|
@echo |
|
|
@echo "**** Compiler version and compilation host ****" |
|
|
@$(C++) --version | grep GCC |
|
|
@hostname |
|
|
@echo |
|
|
|
|
|
.PHONY: all clean distclean install dependents version |
|
| 105 |
|
|