1 |
#Orbital Information for flight analysis software |
#Orbital Information for flight analysis software |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v2r04 |
VER= v2r06 |
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' |
23 |
# Here the variables used to override the standard make flags |
# Here the variables used to override the standard make flags |
24 |
# C |
# C |
25 |
CC=gcc |
CC=gcc |
26 |
#CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
#CFLAGS=-Wall -funroll-loops -fPIC -pthread -g ${PAM_BIT} |
27 |
CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
28 |
# Enviroment: |
# Enviroment: |
29 |
GCCVER=`gcc --version | head -1` |
GCCVER=`gcc --version | head -1` |
35 |
F77FLAGS= -Wall -funroll-loops -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT} |
F77FLAGS= -Wall -funroll-loops -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT} |
36 |
# C++ |
# C++ |
37 |
CXX=g++ |
CXX=g++ |
38 |
#CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT} |
#CXXFLAGS=-Wall -funroll-loops -fPIC -pthread -g ${PAM_BIT} |
39 |
CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT} |
40 |
# ROOTCINT |
# ROOTCINT |
41 |
ROOTCINT=rootcint |
ROOTCINT=rootcint |
95 |
# -- directory where to find tracker headers needed to compile |
# -- directory where to find tracker headers needed to compile |
96 |
#TRKHEAD=${DIRTOP}/../tracker/inc |
#TRKHEAD=${DIRTOP}/../tracker/inc |
97 |
#TRKHEAD=${PAM_INC} |
#TRKHEAD=${PAM_INC} |
98 |
SUBDIR=../RunInfo |
SUBDIR=../RunInfo ../ToFLevel2 ../TrackerLevel2 ../TriggerLevel2 |
99 |
SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done) |
SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done) |
100 |
|
|
101 |
# List of all libraries we want to install |
# List of all libraries we want to install |