1 |
# Calorimeter profile plugin |
# Calorimeter profile plugin |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v3r01 |
VER= v3r02 |
4 |
# An almost general purpouse Makefile for PAMELA repository |
# An almost general purpouse Makefile for PAMELA repository |
5 |
# Let's start with some usefull definition for colorize the echo |
# Let's start with some usefull definition for colorize the echo |
6 |
RED='\E[1;31;40m' |
RED='\E[1;31;40m' |
120 |
TOBEDEL = junk |
TOBEDEL = junk |
121 |
ROOTINC=$$${shell root-config --incdir} |
ROOTINC=$$${shell root-config --incdir} |
122 |
NROOTINC=${shell root-config --incdir} |
NROOTINC=${shell root-config --incdir} |
123 |
|
ROOTVERS=$(shell echo `root-config --version | sed 's/\./\ /g' | sed 's/\//\ /g' `) |
124 |
|
ROOTMAJ=$(word 1,$(ROOTVERS)) |
125 |
|
ROOTMIN=$(word 2,$(ROOTVERS)) |
126 |
# Let's start |
# Let's start |
127 |
all : test mkbindir mklibdir ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${CXXEXELIBS} |
all : test mkbindir mklibdir ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${CXXEXELIBS} |
128 |
all: |
all: |
129 |
@echo -e ${GREEN} "" |
@echo -e ${GREEN} "" |
130 |
@(${EGREEN} " Finished, now you can install the package \n (use: make install or make upgrade or make forceinstall) "; ${RESET}) |
@(${EGREEN} " Finished, now you can install the package \n (use: make install or make upgrade or make forceinstall) "; ${RESET}) |
131 |
@echo -e ${GREEN} "" |
@echo -e ${GREEN} "" |
132 |
|
@if [ ${ROOTMAJ} -lt 5 ]||([ ${ROOTMAJ} -eq 5 ]&&[ ${ROOTMIN} -lt 24 ]); then (${ERED} " W A R N I N G ! ! old ROOT version (${ROOTMAJ}.${ROOTMIN})\n The longitudinal fit will fail - upgrade ROOT to version >= 5.24! \n"; ${RESET}); fi; |
133 |
|
@echo -e ${GREEN} "" |
134 |
@${RESET} |
@${RESET} |
135 |
|
|
136 |
# Here some general rules to produce objects in our local dir |
# Here some general rules to produce objects in our local dir |