| 27 |
# use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT |
# use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT |
| 28 |
# to the compiler options for the main analysis program. |
# to the compiler options for the main analysis program. |
| 29 |
# 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag |
# 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag |
| 30 |
OPTIMIZE = -g3 #-DDEBUGPAMCUT |
OPTIMIZE = -g3 ${PAM_BIT} #-DDEBUGPAMCUT |
| 31 |
|
|
| 32 |
# Linker flags |
# Linker flags |
| 33 |
# The flags defined here will be directly inserted into the linker invocation. Place here the |
# The flags defined here will be directly inserted into the linker invocation. Place here the |
| 34 |
# -m32 flag, for example. |
# -m32 flag, for example. |
| 35 |
LINKERFLAGS = |
LINKERFLAGS = ${PAM_BIT} |
| 36 |
|
|
| 37 |
# Library flags |
# Library flags |
| 38 |
# 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. |
| 83 |
@$(C++) --version | grep GCC |
@$(C++) --version | grep GCC |
| 84 |
@hostname |
@hostname |
| 85 |
@echo |
@echo |
| 86 |
|
|
| 87 |
# Tool invocations |
# Tool invocations |
| 88 |
libPamCut.so: $(OBJS) $(USER_OBJS) |
libPamCut.so: $(OBJS) $(USER_OBJS) |
| 89 |
@echo 'Building target: $@' |
@echo 'Building target: $@' |
| 101 |
@rm -f ${PAM_LIB}/libPamCut.so |
@rm -f ${PAM_LIB}/libPamCut.so |
| 102 |
@rm -rf ${PAM_INC}/PamCut |
@rm -rf ${PAM_INC}/PamCut |
| 103 |
@echo Installed files successfully removed. |
@echo Installed files successfully removed. |
| 104 |
|
|
| 105 |
install: |
install: |
| 106 |
@if [[ "${PAM_INC}" == "" || "${PAM_LIB}" == "" ]]; then \ |
@if [[ "${PAM_INC}" == "" || "${PAM_LIB}" == "" ]]; then \ |
| 107 |
echo Pamela environment not set. ; \ |
echo Pamela environment not set. ; \ |